Closed lkorczowski closed 4 years ago
In order to avoid any confusion, every data info should be merged into data_info.csv as new columns
Advantages:
Note: As previously mentioned, list in .csv will be loaded as string instead (e.g. '[1, 2, 3]' instead of [1, 2, 3]) but it can be managed by doing df = pd.read_csv(df_name, converters={'column_name': eval}) read more : https://stackoverflow.com/questions/23111990/pandas-dataframe-stored-list-as-string-how-to-convert-back-to-list
df = pd.read_csv(df_name, converters={'column_name': eval})
In order to avoid any confusion, every data info should be merged into data_info.csv as new columns
Advantages:
Note: As previously mentioned, list in .csv will be loaded as string instead (e.g. '[1, 2, 3]' instead of [1, 2, 3]) but it can be managed by doing
df = pd.read_csv(df_name, converters={'column_name': eval})
read more : https://stackoverflow.com/questions/23111990/pandas-dataframe-stored-list-as-string-how-to-convert-back-to-list