Pandas: How to workaround “error tokenizing data”?
问题 A lot of questions have been already asked about this topic on SO. (and many others). Among the numerous answers, none of them was really helpful to me so far. If I missed the useful one, please let me know. I simply would like to read a CSV file with pandas into a dataframe. Sounds like a simple task. My file Test.csv 1,2,3,4,5 1,2,3,4,5,6 ,,3,4,5 1,2,3,4,5,6,7 ,2,,4 My code: import pandas as pd df = pd.read_csv('Test.csv',header=None) My error: pandas.errors.ParserError: Error tokenizing