-
-
Notifications
You must be signed in to change notification settings - Fork 32.6k
Open
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
The code:
Line 473 in 719e5c3
if checked > 20:
This is an off-by-one.
The docs:
- https://docs.python.org/3/library/csv.html#csv.Sniffer.has_header
Line 297 in 379161d
Twenty rows after the first row are sampled; if more than half of columns +
Twenty rows after the first row are sampled
I err on correcting the docs, instead of the code, given that users may rely on the current behavior.
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
No status
Status
Todo