Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a09df36

Browse filesBrowse files
committed
DOC: read_csv usecols element order is ignored
1 parent 2aa4aa9 commit a09df36
Copy full SHA for a09df36

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎pandas/io/parsers.py

Copy file name to clipboardExpand all lines: pandas/io/parsers.py
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.