Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnicodeDecodeError #27

Open
vincevertulfo opened this issue Dec 2, 2020 · 1 comment
Open

UnicodeDecodeError #27

vincevertulfo opened this issue Dec 2, 2020 · 1 comment

Comments

@vincevertulfo
Copy link

vincevertulfo commented Dec 2, 2020

Allow to set the encoding when writing the dataframe to csv, before loading infile. It gets an error when the csv contains unicode characters.

@Mozin
Copy link

Mozin commented Jan 8, 2021

There is an option to add encoding as a parameter when saving csv. For example, you can have it as:
c.to_csv_combine('test-data/output/test.csv', write_params = {"encoding" : "utf-8"})
I hope this solves the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants