Skip to content

Commit 91d3f0b

Browse files
authored
Small doc fix to usecols argument (#45471)
1 parent 6b43a78 commit 91d3f0b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pandas/io/excel/_base.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,12 +119,13 @@
119119
those columns will be combined into a ``MultiIndex``. If a
120120
subset of data is selected with ``usecols``, index_col
121121
is based on the subset.
122-
usecols : int, str, list-like, or callable default None
122+
usecols : str, list-like, or callable, default None
123123
* If None, then parse all columns.
124124
* If str, then indicates comma separated list of Excel column letters
125125
and column ranges (e.g. "A:E" or "A,C,E:F"). Ranges are inclusive of
126126
both sides.
127-
* If list of int, then indicates list of column numbers to be parsed.
127+
* If list of int, then indicates list of column numbers to be parsed
128+
(0-indexed).
128129
* If list of string, then indicates list of column names to be parsed.
129130
* If callable, then evaluate each column name against it and parse the
130131
column if the callable returns ``True``.

0 commit comments

Comments
 (0)