Skip to content

Commit 1abf9b5

Browse files
committed
Used text from docstring for note
1 parent e1405d6 commit 1abf9b5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/source/io.rst

+5-2
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,11 @@ If the header is in a row other than the first, pass the row number to
560560
561561
.. note::
562562

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.
563+
Default behavior is to infer the column names: if no names are
564+
passed the behavior is identical to ``header=0`` and column names
565+
are inferred from the first line of the file, if column names are
566+
passed explicitly then the behavior is identical to
567+
``header=None``.
565568

566569
.. _io.dupe_names:
567570

0 commit comments

Comments
 (0)