def display_head()

in Python/length_of_stay_utils.py [0:0]


def display_head(table_name, n_rows):
    table_sql = RxSqlServerData(sql_query = "SELECT TOP({}}) * FROM {}}".format(n_rows, table_name), connection_string = connection_string)
    table = rx_import(table_sql)
    print(table)