0
Q:

ParserError: unexpected end of data

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)
0

New to Communities?

Join the community