Ankar Yadav
02/06/2023, 12:19 PMsep
in save_args, it gives me an error:
prm_customer:
type: pandas.CSVDataSet
filepath: ${base_path}/${folders.prm}/
save_args:
index: False
sep: "|"
Any idea how to fix this?
I am using kedro 0.18.1
Nok Lam Chan
02/06/2023, 12:28 PMAnkar Yadav
02/06/2023, 12:45 PMError tokenizing data. C error: Expected 1 fields in line 3, saw 2
datajoely
02/06/2023, 1:04 PMon_bad_lines: _{'error', 'warn', 'skip'}_
Ankar Yadav
02/06/2023, 1:16 PM,
, thats why I need a different seperator to save filesdatajoely
02/06/2023, 1:17 PMread_csv
or to_csv
docs, all we’re doing is passing through the arguments there?Ankar Yadav
02/06/2023, 1:20 PMto_csv
has a sep
feild, sep
is supported with load_args
but for some reason when I use it with save_args
it doesnt workdatajoely
02/06/2023, 1:20 PMAnkar Yadav
02/06/2023, 1:21 PMNok Lam Chan
02/06/2023, 2:11 PM<http://df.to|df.to>_csv(index=False. sep="|")
, I expect it will throw the same error.datajoely
02/06/2023, 2:12 PMAnkar Yadav
02/06/2023, 2:13 PMsep
in to_csv
, but not sure if its available in the pandas version used with kedro 0.18.1Sebastian Pehle
02/06/2023, 5:13 PM