Closed nikohartline closed 4 years ago
When the default encoder is not set to utf8, the data-prep.py code errors out. Might help for future classes to have the option specified.
with open("train.csv", "w") as f:
change to:
with open("train.csv", "w",encoding="utf8") as f:
note that there are 6 instances of open where adding the encoding statement should help!
Lines with issue:
When the default encoder is not set to utf8, the data-prep.py code errors out. Might help for future classes to have the option specified.
with open("train.csv", "w") as f:
change to:
with open("train.csv", "w",encoding="utf8") as f:
note that there are 6 instances of open where adding the encoding statement should help!
Lines with issue: