|
|
|
@ -136,6 +136,4 @@ def _cleanup_data_columns(data_frame: pandas.DataFrame) -> pandas.DataFrame:
@@ -136,6 +136,4 @@ def _cleanup_data_columns(data_frame: pandas.DataFrame) -> pandas.DataFrame:
|
|
|
|
|
""" |
|
|
|
|
renamed = data_frame.rename(columns=CSV_RENAME_MAP) |
|
|
|
|
surplus_columns = set(renamed.columns) - PARSED_DATA_COLUMN_SET |
|
|
|
|
x = renamed.drop(columns=surplus_columns) |
|
|
|
|
print(PARSED_DATA_COLUMN_SET - set(x.columns)) |
|
|
|
|
return x |
|
|
|
|
return renamed.drop(columns=surplus_columns) |
|
|
|
|