美文网首页
2021-09-06

2021-09-06

作者: 纵春水东流 | 来源:发表于2021-09-06 21:41 被阅读0次

'utf-8' codec can't decode byte 0xe9 in position 27977: invalid continuation byte
1.情况1
import pandas as pd
a = pd.read_csv('phi-base_current.csv',encoding='unicode_escape')
a.to_csv('phi-base_current.csv')
2.情况2
with open('hpidb2.mitab_plus.txt','r',encoding='UTF-8',errors='ignore') as f:

相关文章

网友评论

      本文标题:2021-09-06

      本文链接:https://www.haomeiwen.com/subject/evmywltx.html