pandas.io.common.CParserError: Error tokenizing data. C error: Buffer overflow caught - possible malformed input file
问题 I have large csv files with size more than 10 mb each and about 50+ such files. These inputs have more than 25 columns and more than 50K rows. All these have same headers and I am trying to merge them into one csv with headers to be mentioned only one time. Option: One Code: Working for small sized csv -- 25+ columns but size of the file in kbs. import pandas as pd import glob interesting_files = glob.glob("*.csv") df_list = [] for filename in sorted(interesting_files): df_list.append(pd.read