From ee7e6eedc35729da23bcd9a16c6eeac4d976d91b Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Wed, 20 Mar 2019 15:31:43 +0100 Subject: [PATCH] Fix ReST formatting of pandas.read_excel --- pandas/io/excel/_base.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pandas/io/excel/_base.py b/pandas/io/excel/_base.py index c6d390692c789..781bb1f68d92f 100644 --- a/pandas/io/excel/_base.py +++ b/pandas/io/excel/_base.py @@ -70,11 +70,12 @@ usecols : int, str, list-like, or callable default None Return a subset of the columns. + * If None, then parse all columns. * If int, then indicates last column to be parsed. - .. deprecated:: 0.24.0 - Pass in a list of int instead from 0 to `usecols` inclusive. + .. deprecated:: 0.24.0 + Pass in a list of int instead from 0 to `usecols` inclusive. * If str, then indicates comma separated list of Excel column letters and column ranges (e.g. "A:E" or "A,C,E:F"). Ranges are inclusive of @@ -82,12 +83,12 @@ * If list of int, then indicates list of column numbers to be parsed. * If list of string, then indicates list of column names to be parsed. - .. versionadded:: 0.24.0 + .. versionadded:: 0.24.0 * If callable, then evaluate each column name against it and parse the column if the callable returns ``True``. - .. versionadded:: 0.24.0 + .. versionadded:: 0.24.0 squeeze : bool, default False If the parsed data only contains one column then return a Series.