Emilio Gagliardi
09/13/2023, 9:59 PMdatajoely
09/13/2023, 10:00 PMsave_args:
mode: a
does that not work?Emilio Gagliardi
09/13/2023, 10:02 PMsave_args:
mode: 'a'
I'll remove the quotes. I never know if I'm supposed to quote strings in yaml or not 🧐Emilio Gagliardi
09/13/2023, 10:08 PMvalidation_metrics:
type: pandas.CSVDataSet
filepath: "data/08_reporting/validation_metrics.csv"
load_args:
save_args:
index: False
na_rep: "NaN"
mode: a
and then in my node:
new_data_dict = {...} <- a single dictionary
new_data_df = pd.DataFrame([new_data_dict])
return new_data_df
Juan Luis
09/14/2023, 8:41 AMJuan Luis
09/14/2023, 8:47 AMJuan Luis
09/14/2023, 8:51 AMEmilio Gagliardi
09/14/2023, 7:36 PMKevin Hauskins
01/13/2025, 7:59 PMsave_args
and fs_args
but it always seems to overwrite the file. The github issue above was closed.
results:
type: pandas.CSVDataset
filepath: data/08_reporting/results.csv
save_args:
index: False
mode: a
fs_args:
open_args_save:
mode: a
Thanks!Ravi Kumar Pilla
01/13/2025, 8:28 PMKevin Hauskins
01/13/2025, 8:31 PMRavi Kumar Pilla
01/13/2025, 8:38 PMRavi Kumar Pilla
01/13/2025, 8:50 PMfs_args:
open_args_save:
mode: a
Kevin Hauskins
01/13/2025, 11:05 PM