Skip to content

Commit a09df36

Browse files
committed
DOC: read_csv usecols element order is ignored
1 parent 2aa4aa9 commit a09df36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/io/parsers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@
101101
be positional (i.e. integer indices into the document columns) or strings
102102
that correspond to column names provided either by the user in `names` or
103103
inferred from the document header row(s). For example, a valid array-like
104-
`usecols` parameter would be [0, 1, 2] or ['foo', 'bar', 'baz'].
104+
`usecols` parameter would be [0, 1, 2] or ['foo', 'bar', 'baz']. Element
105+
order is ignored, so usecols=[1,0] is the same as [0,1].
105106
106107
If callable, the callable function will be evaluated against the column
107108
names, returning names where the callable function evaluates to True. An

0 commit comments

Comments
 (0)