Skip to content

Commit bfe0423

Browse files
author
Ben Kandel
committed
typo
1 parent 2f64d57 commit bfe0423

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/parser.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ cdef class TextReader:
717717
start = self.parser.line_start[0]
718718

719719
# e.g., if header=3 and file only has 2 lines
720-
if (self.parser.lines < hr + 1
720+
elif (self.parser.lines < hr + 1
721721
and not isinstance(self.orig_header, list)) or (
722722
self.parser.lines < hr):
723723
msg = self.orig_header

0 commit comments

Comments
 (0)