Python pandas处理csv UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xc9 in position 0: invalid c
Python pandas处理csv提示错误:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc9 in position 0: invalid continuation byte需加上encoding='gbk'指定字符集类型方可正常df=pd.read_csv('./pdd.csv',encoding="gbk")http://www.gxzixun.com/?id=16...
原创
2021-03-31 14:26:01 ·
517 阅读 ·
0 评论