UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd4 in position 0: invalid continuation byte
原因:csv文件的编码不是utf-8
解决方法:将文件重新保存为utf-8
步骤:用记事本的方式打开csv,然后在记事本中将文件另存为,--->保存类型为"所有文件",文件名加后缀,右下角的编码选择UTF-8----->保存
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd4 in position 0: invalid continuation byte
原因:csv文件的编码不是utf-8
解决方法:将文件重新保存为utf-8
步骤:用记事本的方式打开csv,然后在记事本中将文件另存为,--->保存类型为"所有文件",文件名加后缀,右下角的编码选择UTF-8----->保存