0

enter image description here

I want to remove the red warnings.

None of the answers mentioned here have worked

nz_21
  • 6,140
  • 7
  • 34
  • 80

1 Answers1

1

For your particular example (pd.read_table where the warnings are all regarding an incorrect number of columns in the data file) you can add warn_bad_lines=False to the call:

pd.read_table(filename, header=0, error_bad_lines=False, warn_bad_lines=False)
wtw
  • 678
  • 4
  • 9