Skip to content

Commit 3c52276

Browse files
committed
Added a note to the 'Handling column names' section
1 parent 163e144 commit 3c52276

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/source/io.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,11 @@ If the header is in a row other than the first, pass the row number to
558558
data = 'skip this skip it\na,b,c\n1,2,3\n4,5,6\n7,8,9'
559559
pd.read_csv(StringIO(data), header=1)
560560
561+
.. note::
562+
563+
The default behavior of ``read_csv`` is to use ``header='infer'``,
564+
which will use the first nonblank row of the file as a header row.
565+
561566
.. _io.dupe_names:
562567

563568
Duplicate names parsing

0 commit comments

Comments
 (0)