Closed silvandeleemput closed 3 years ago
When working on #299 I discovered that some (unrelated) pytests would fail due to a difference in pandas:
3.6, pandas==1.1.5, tests pass 3.7, pandas==1.2.2, tests fail 3.8, pandas==1.2.2, tests fail CSVLoader read_csv(fname, skipinitialspace=True).to_dict( orient="records" ) pandas.errors.ParserError: Error tokenizing data. C error: Expected 1 fields in line 7, saw 2
This can be fixed by explicitly setting the encoding to utf-8.
utf-8
Description
When working on #299 I discovered that some (unrelated) pytests would fail due to a difference in pandas:
What I Did
This can be fixed by explicitly setting the encoding to
utf-8
.