![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python 错误
计算法
人生苦短,我用python
展开
-
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 1: invalid start byte解决方案
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 1: invalid start byteimport pandas as pdf = open('cus_loss.csv',encoding="utf-8")# f = open('cus_loss.csv')cus_loss = pd.rea...原创 2018-10-04 23:23:44 · 9025 阅读 · 0 评论 -
python 导入数据错误:UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 0: invalid start
正想导入数据到python作分析找到这个教程https://www.cnblogs.com/OliverQin/p/8966321.html我要导入CSV文件,已经放在相同目录之下。import pandas as pddata = pd.read_csv("电信客户流失.csv",encoding="utf8")报错如下-----------------------...原创 2018-10-05 00:13:09 · 218976 阅读 · 62 评论