Skip to content

Commit fbe2523

Browse files
timhoffmWillAyd
authored andcommitted
Fix ReST formatting of pandas.read_excel (#25801)
1 parent 85c3f82 commit fbe2523

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

pandas/io/excel/_base.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -70,24 +70,25 @@
7070
7171
usecols : int, str, list-like, or callable default None
7272
Return a subset of the columns.
73+
7374
* If None, then parse all columns.
7475
* If int, then indicates last column to be parsed.
7576
76-
.. deprecated:: 0.24.0
77-
Pass in a list of int instead from 0 to `usecols` inclusive.
77+
.. deprecated:: 0.24.0
78+
Pass in a list of int instead from 0 to `usecols` inclusive.
7879
7980
* If str, then indicates comma separated list of Excel column letters
8081
and column ranges (e.g. "A:E" or "A,C,E:F"). Ranges are inclusive of
8182
both sides.
8283
* If list of int, then indicates list of column numbers to be parsed.
8384
* If list of string, then indicates list of column names to be parsed.
8485
85-
.. versionadded:: 0.24.0
86+
.. versionadded:: 0.24.0
8687
8788
* If callable, then evaluate each column name against it and parse the
8889
column if the callable returns ``True``.
8990
90-
.. versionadded:: 0.24.0
91+
.. versionadded:: 0.24.0
9192
9293
squeeze : bool, default False
9394
If the parsed data only contains one column then return a Series.

0 commit comments

Comments
 (0)