ParserError: Error tokenizing data. C error: Buffer overflow caught - possible malformed input file
报错:ParserError: Error tokenizing data. C error: Buffer overflow caught - possible malformed input file在使用pandas读取CSV文件的时候,报了上述错误,这是缓冲区溢出错误,造成这种错误的原因是CSV文件中每行使用了 \r ,也就是回车符。解决方案就是给 read_csv 添加参数 line...
原创
2019-05-25 14:58:44 ·
15128 阅读 ·
4 评论