Handsome_zhou 发表于 2022-11-21 17:10:08

UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte xx in position xx: inv...

报错内容: UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte xx in position xx: invalid continuation byte

解决方案:在read_csv中添加: encoding='ISO-8859-1'

页: [1]
查看完整版本: UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte xx in position xx: inv...