Skip to content

Commit 8b138aa

Browse files
author
Ben Kandel
committed
typo
1 parent dcfe19d commit 8b138aa

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
@@ -714,7 +714,7 @@ cdef class TextReader:
714714
start = self.parser.line_start[0]
715715

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

0 commit comments

Comments
 (0)