pd.read_csv pandas.errors.ParserError: Error tokenizing data. C error: Expected 26 fields in line 5799790, saw 34 错误解决
df1=pd.read_csv(path1,encoding="utf-8",chunksize=50000, error_bad_lines=False)
尽管提示:
Warning (from warnings module):
File "D:\Python37\lib\idlelib\run.py", line 550
exec(code, self.locals)
FutureWarning: The error_bad_lines argument has been deprecated and will be removed in a future version.
只是提示警告,但确实略过了错误