df= pd.read_csv('/content/drive/MyDrive/Colab Notebooks/res_data/tmp2.dat', header = None, delim_whitespace=True, error_bad_lines=False) # error_bad_lines=False is the key here