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:
- Python error: pandas.errors.ParserError: Error tokenizing data. C error: Expected 3……
- ParserError: Error tokenizing data. C error: EOF inside string starting at row 917
- How to Fix Parser rerror: error tokenizing data. C error: expected 2 fields in line 53, saw 3
- pandas parse_ Data exception, automatically skip
- Pandas read_ Error in json() valueerror: training data
- Arithmetic overflow error converting identity to data type int
- Mysql cannot allocate memory for the buffer pool solution
- Arithmetical overflow error converting expression to data type datetime
- How to Solve Int Data overflow error
- The C language qsort() function reports an error for overflow of – 2147483648 and 2147483648
- Arithmetic overflow error converting numeric to data type numeric.
- CUDA error 11-cannot write buffer for DAG error solution
- The MySQL load data command parses and handles error 29 (errCode: 13) errors (in the Ubuntu environment)
- Out of memory overflow solution for idea running error
- Pandas multi column pandas.core.indexing . indexingerror: too many indexers error
- [Python] pandas Library pd.to_ Parameter arrangement and example of Excel operation writing into excel file
- Tomcat memory overflow in Eclipse: Java. Lang. outofmemoryerror: permgen space solution:
- The difference, cause and solution of memory overflow and memory leak
- about jQuery.js The solution to always reporting errors
- Various errors (c + +)