https://kedro.org/ logo
#questions
Title
# questions
e

Eluard Camota

10/01/2023, 12:33 AM
Hello, anyone knows how to configure catalog.yml on saving a dataframe in a csv sheet, sheet_name doesn't work for me
Copy code
save_csv_sheet:
  type: pandas.CSVDataSet
  filepath: data/02_intermediate/data.csv
  load_args:
    sheet_name: data1
m

Michał Madej

10/01/2023, 9:30 AM
1. .csv files do not have sheets. If you want to use sheets, then you need to change dataset to "type: pandas.ExcelDataSet" 2. If you want to specify saving parameters, use "save_args", not "load_args" Check out introduction to Kedro data catalog - https://docs.kedro.org/en/stable/data/data_catalog.html
👍 2
j

Juan Luis

10/01/2023, 10:25 AM
what @Michał Madej said 💯
e

Eluard Camota

10/01/2023, 1:53 PM
Thanks @Michał Madej