d6tstack
d6tstack copied to clipboard
Encoding error reading csv files to combine
I have csv files and I'm trying to fix different columns between them.
The function d6tstack.combine_csv.CombinerCSV works fine in other cases but now I have problems with the encoding.
I need to pass the parameter encoding="latin-1" to Pandas read_csv but it doesn't work.
In the documentation I found that is possible to pass read_csv_params={"encoding" : "latin-1"} but it doesn't work, it doesn't apply this encoding.
I tried reading the same file directly with Pandas and whit the parameter encoding works fine.
Are there another posivility to resolve it? Thanks in advance.