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

mrinalini nag

01/10/2024, 10:42 AM
Hello everyone! how do we mention encoding in data catalogue while writing a csv file? Under default setting words like its not able to show phonetics based character. eg crédito becomes cr√©dito with the current setting. Thank you for the help! 🙂
j

Juan Luis

01/10/2024, 10:43 AM
hi @mrinalini nag! I suppose you're using
pandas.CSVDataset
? if so, use `load_args`:
Copy code
ds:
  type: pandas.CSVDataset
  filepath: <s3://bucket/data.csv>
  load_args:
    encoding: iso-8859-1
gratitude thank you 1
let us know if that helps
m

mrinalini nag

01/10/2024, 11:04 AM
i am able to pass encoding as a parameter. however this encoding is not working properly for some sentences.
d

Debanjan Banerjee

01/10/2024, 11:06 AM
@mrinalini nag we need to identify in what encoding output comes on from argos
j

Juan Luis

01/10/2024, 11:06 AM
you'll have to figure out the proper encoding, maybe
latin-1
? or
utf-8
👍 2