Solution pandas.errors.ParserError : Error tokenizing data. C error: Buffer overflow caught

When using the panda package, pd.read_ csv(r’.\data\ data.csv ’, encoding =’utf-8 ‘, header = none,)
error message: pandas.errors.ParserError : Error tokenizing data. C error: Buffer overflow caught – possible malformed input file.

I read some blogs and said that the parameter error was added_ bad_ Lines = false
but it’s no use trying

After reading another blog, I said that it might be caused by modifying the suffix of the file. I did change the suffix of. Xlsx to. CVS
so you can change the suffix back to. Xlsx and use pd.read_ Excel () function can be
or you can create a new table with Excel, copy the data, and then save it as a. CSV file

There will also be coding problems, which you can see in my previous blog posts

Read More: