Skip to content

Commit 3bf26f1

Browse files
committed
Fixing 'names' doc for 'read_csv'
1 parent f437a04 commit 3bf26f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/parsers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
data rather than the first line of the file.
121121
names : array-like, optional
122122
List of column names to use. If file contains no header row, then you
123-
should explicitly pass ``header=None``. Duplicates in this list are not
123+
should explicitly pass ``header=0``. Duplicates in this list are not
124124
allowed.
125125
index_col : int, str, sequence of int / str, or False, default ``None``
126126
Column(s) to use as the row labels of the ``DataFrame``, either given as

0 commit comments

Comments
 (0)