C2_W4_Lab_2_Signals. ParserError

I got the following error when I ran the cell to preview the dataset as a pandas dataframe

ParserError: Error tokenizing data. C error: Expected 6 fields in line 134634, saw 11

Thanks for bringing this up.
The error happens because of line 134634 in the text file.
The staff have been notified to fix this.

If you’d like to try the lab while waiting for the fix, please use on_bad_lines='skip' as an argument to read_csv to skip lines that don’t have 6 fields.

1 Like