read_excel with encoding?

215 views
Skip to first unread message

R M

unread,
Apr 23, 2020, 12:16:17 PM4/23/20
to PyData
Hi,
I am getting my data delivered in (seems like) Windows-1252 encoding, so there are artefacts present in the text.
While googling I found that it used to be possible to run for example:

pandas.read_excel(input_file, encoding="cp1252") 

?

Is there a way I could get proper encoding of the strings inside my dataframe ?

I would much appreciate your help. Thank you

Remi 
Reply all
Reply to author
Forward
0 new messages