Forum

Notifications
Clear all

reading csv files  

   RSS

0

Hi,

In previous AI4I-3 EDA exercise, I was unable to read the csv file ('candyhierarchy2017.csv') unless the parameter encoding is used.

Noted I have no such issue with 'train.csv' in the regression exercise.

Is there a process at the csv file level that ensures that encoding will not be needed?

Thanks, ym.

2 Answers
0

You could re-encode the csv file to another encoding using python.

A useful read on character encoodings:

https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/

0

I highly recommend this video about character encodings.

@siowy
Thanks for the links, I should then read about how to detect encoding in a particular file....cheerio, ym.

Share:

Delete your account