From 149d8a0994f82ddb2ec4ebfab6cf6840b6c36967 Mon Sep 17 00:00:00 2001 From: LunarLanding <4441338+LunarLanding@users.noreply.github.com> Date: Thu, 11 Nov 2021 13:09:33 +0000 Subject: [PATCH] Fix header options Noticed this due to pylance (typing) showing header=None was wrong. Don't know how it will propagate to the typings. --- pandas/io/parsers/readers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/parsers/readers.py b/pandas/io/parsers/readers.py index 49c2b28207ed5..6d3cc84a31d05 100644 --- a/pandas/io/parsers/readers.py +++ b/pandas/io/parsers/readers.py @@ -86,7 +86,7 @@ delimiters are prone to ignoring quoted data. Regex example: ``'\r\t'``. delimiter : str, default ``None`` Alias for sep. -header : int, list of int, default 'infer' +header : int, list of int, None, default 'infer' Row number(s) to use as the column names, and the start of the data. Default behavior is to infer the column names: if no names are passed the behavior is identical to ``header=0`` and column