python读取csv文件出错:显示utf-8编码问题该怎么解决

UnicodeDecodeError when reading CSV file in Pandas with Python

解决方法:之前试了用
encoding = "utf-8"没有用,后面改为

encoding = "ISO-8859-1"可以使用,在此mark一下。亲测可用
 
 

参考链接:https://stackoverflow.com/questions/18171739/unicodedecodeerror-when-reading-csv-file-in-pandas-with-python


猜你喜欢

转载自blog.csdn.net/yimixgg/article/details/80088809