When I try to read csv file I get an error pandas.errors.ParserError: Error tokenizing data. C error
I have a set of different csv files and see this error occurs across different files
list_ = []
for file_ in allFiles:
    try:
        df = pd.read_csv(file_, index_col=None, header=None, sep=',')
        list_.append(df)
        except pd.errors.EmptyDataError:
            continue 
I am trying to see if I can skip reading the entire csv file if this error (pandas.errors.ParserError: Error tokenizing data. C error) occurs while reading a csv file
 
    