📌  相关文章
📜  ParserError:数据意外结束 - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:00.504000             🧑  作者: Mango

代码示例1
For me adding this fixed it:

error_bad_lines=False

It just skips the last line. So instead of

reviews = pd.read_csv('br.csv', engine='python', encoding='utf-8')

reviews = pd.read_csv('br.csv', engine='python', encoding='utf-8', error_bad_lines=False)