当python运行总报utf-8错误时,
f = open('CI_CUSER_2019040116033031.txt')
data_app = pd.read_csv(f)
print(data_app)
可以试试这样的形式,先打开文件,再csv
当python运行总报utf-8错误时,
f = open('CI_CUSER_2019040116033031.txt')
data_app = pd.read_csv(f)
print(data_app)
可以试试这样的形式,先打开文件,再csv
转载于:https://www.cnblogs.com/aixiao07/p/10783935.html