Prevent pandas read_csv treating first row as header of column names
This page is in draft mode. Only editors can see it listed. Any user with 100 rep with the link may edit it.
- csv
- pandas
- header-row
Since pandas 0.17, header
became an int arg (or list of int), no longer Boolean. Hence for no header, you must use header=None
.
You often see this sort of thing when people use old pre-0.17 code with 0.17+, and scratch their heads at the result: