diff --git a/pandas/_libs/parsers.pyx b/pandas/_libs/parsers.pyx index a2c7d0da5b4a8..bbea66542a953 100644 --- a/pandas/_libs/parsers.pyx +++ b/pandas/_libs/parsers.pyx @@ -843,11 +843,6 @@ cdef class TextReader: passed_count = len(header[0]) - # if passed_count > field_count: - # raise ParserError('Column names have %d fields, ' - # 'data has %d fields' - # % (passed_count, field_count)) - if (self.has_usecols and self.allow_leading_cols and not callable(self.usecols)): nuse = len(self.usecols)