D
D
Dmitry2019-03-12 12:45:27
Python
Dmitry, 2019-03-12 12:45:27

How to load csv file with Cyrillic in Jupyter notebook?

Hello.
I upload the csv file to jupyter notebook in eng - everything is ok. But he doesn’t want to load Cyrillic and swears.
I use:

intro_and_syntax_data_13 = pd.read_csv('intro_and_syntax_data_13.csv')
intro_and_syntax_data_13

Tried to add encoding - also does not work.
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem, 2019-03-12
@ulkoart

pd.read_csv('intro_and_syntax_data_13.csv',encoding='cp1252')

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question