d6tstack icon indicating copy to clipboard operation
d6tstack copied to clipboard

UnicodeDecodeError

Open vincevertulfo opened this issue 5 years ago • 1 comments

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

vincevertulfo avatar Dec 02 '20 06:12 vincevertulfo

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.

Mozin avatar Jan 08 '21 17:01 Mozin