From dd476bb19adebca2875788f63cb97764e9305991 Mon Sep 17 00:00:00 2001 From: Holger Frey Date: Tue, 3 Jan 2023 17:42:40 +0100 Subject: [PATCH] added more calls to "clenup_data_columns()" to remove double index columns after merges --- src/sensospot_parser/csv_parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sensospot_parser/csv_parser.py b/src/sensospot_parser/csv_parser.py index 13ef0ce..267bfea 100644 --- a/src/sensospot_parser/csv_parser.py +++ b/src/sensospot_parser/csv_parser.py @@ -223,6 +223,8 @@ def parse_csv_folder( # the xml file would hold the Analysis.Datetime value data_frame[columns.ANALYSIS_DATETIME] = None + data_frame = columns._cleanup_data_columns(data_frame) + if quiet: return data_frame return _sanity_check(data_frame)