We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f64d57 commit bfe0423Copy full SHA for bfe0423
pandas/parser.pyx
@@ -717,7 +717,7 @@ cdef class TextReader:
717
start = self.parser.line_start[0]
718
719
# e.g., if header=3 and file only has 2 lines
720
- if (self.parser.lines < hr + 1
+ elif (self.parser.lines < hr + 1
721
and not isinstance(self.orig_header, list)) or (
722
self.parser.lines < hr):
723
msg = self.orig_header
0 commit comments