From 314ea3ff699c0b7fa620ecfd0342de5cf829b59c Mon Sep 17 00:00:00 2001 From: iuvbio Date: Thu, 31 Jan 2019 22:25:47 +0100 Subject: [PATCH] default column names lowercase --- pandas_ods_reader/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas_ods_reader/parser.py b/pandas_ods_reader/parser.py index b2f7f27..d9d11b0 100644 --- a/pandas_ods_reader/parser.py +++ b/pandas_ods_reader/parser.py @@ -28,7 +28,7 @@ def load_ods(doc, sheet, headers=True, columns=None): continue elif not headers and i == 0: columns = columns if columns else ( - ["Column_%s" % j for j in range(len(row))]) + ["column_%s" % j for j in range(len(row))]) # columns as lists in a dictionary df_dict = {column: [] for column in columns} # create index for the column headers