From 29039a5bfe83ff7c908f72cb8cf21605d06664ef Mon Sep 17 00:00:00 2001 From: MomIsBestFriend <> Date: Wed, 13 Nov 2019 12:51:05 +0200 Subject: [PATCH] Removed the commented code Did as @jbrockmendel suggeted [here](https://github.com/pandas-dev/pandas/pull/29554#discussion_r344942442) --- pandas/_libs/parsers.pyx | 5 ----- 1 file changed, 5 deletions(-) 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)