I am trying to read a CSV file which includes French characters (like é, à, etc.) and email addresses with pandas.
Encoding with utf-8 gives an error. Encoding with latin-1 eliminates my é.
Any idea what encoding I should use ?
Thanks, Chris
pd.read_csv(csv_file, encoding = 'iso-8859-1')
where 'iso-8859-1' is the encoding needed to properly represent languages from occidental Europe including France
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With