From 9621fc20ece9d37977f14d193f8320b829c80679 Mon Sep 17 00:00:00 2001 From: Jan Morgenstern Date: Sat, 17 Aug 2019 12:34:42 -0500 Subject: [PATCH 1/5] DOC: Added documentation to name and fastpath arguments in series.py(\#27178) --- pandas/core/series.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandas/core/series.py b/pandas/core/series.py index 3f04970ee4e58..a1bc55479243f 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -172,6 +172,11 @@ class Series(base.IndexOpsMixin, generic.NDFrame): See the :ref:`user guide ` for more usages. copy : bool, default False Copy input data. + name: str, default None + Sets the name of the array/ series. Can be called with Series.name + fastpath: bool, default False + Internally used to prevent the over-parsing data format/ type which + is otherwise required by external calls (such as user calls) """ _metadata = ["name"] From c98cedc8b74f018dd8c418135f82c3c856466aef Mon Sep 17 00:00:00 2001 From: Jan Morgenstern Date: Sat, 17 Aug 2019 13:44:22 -0500 Subject: [PATCH 2/5] DOC: Added documentation to name and fastpath arguments in series.py (/#27178) --- pandas/core/series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index a1bc55479243f..3a5c8cf514ad5 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -172,9 +172,9 @@ class Series(base.IndexOpsMixin, generic.NDFrame): See the :ref:`user guide ` for more usages. copy : bool, default False Copy input data. - name: str, default None + name : str, default None Sets the name of the array/ series. Can be called with Series.name - fastpath: bool, default False + fastpath : bool, default False Internally used to prevent the over-parsing data format/ type which is otherwise required by external calls (such as user calls) """ From 1fd409887a299b4b1cd816627dcf3a71cea57be2 Mon Sep 17 00:00:00 2001 From: Jan Morgenstern Date: Sat, 17 Aug 2019 13:44:22 -0500 Subject: [PATCH 3/5] DOC: Added documentation to name and fastpath arguments in series.py --- pandas/core/series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index a1bc55479243f..3a5c8cf514ad5 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -172,9 +172,9 @@ class Series(base.IndexOpsMixin, generic.NDFrame): See the :ref:`user guide ` for more usages. copy : bool, default False Copy input data. - name: str, default None + name : str, default None Sets the name of the array/ series. Can be called with Series.name - fastpath: bool, default False + fastpath : bool, default False Internally used to prevent the over-parsing data format/ type which is otherwise required by external calls (such as user calls) """ From 8bee94e4ed5062a04a08302dd0b01d8c4e4feed8 Mon Sep 17 00:00:00 2001 From: Jan Morgenstern Date: Sun, 18 Aug 2019 09:46:26 -0500 Subject: [PATCH 4/5] DOC: Added documentation to name and fastpath arguments in series.py --- pandas/core/series.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index 3a5c8cf514ad5..f6c9e8347175e 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -170,11 +170,11 @@ class Series(base.IndexOpsMixin, generic.NDFrame): Data type for the output Series. If not specified, this will be inferred from `data`. See the :ref:`user guide ` for more usages. + name: str, default None + Sets the name of the array/ series. Can be called with Series.name copy : bool, default False Copy input data. - name : str, default None - Sets the name of the array/ series. Can be called with Series.name - fastpath : bool, default False + fastpath: bool, default False Internally used to prevent the over-parsing data format/ type which is otherwise required by external calls (such as user calls) """ From 49b085df3298d741efcbd8f8f7f71c98175edfee Mon Sep 17 00:00:00 2001 From: Jan Morgenstern Date: Sun, 18 Aug 2019 10:33:09 -0500 Subject: [PATCH 5/5] DOC: Added spaces around colon to sneak past sphinx --- pandas/core/series.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/series.py b/pandas/core/series.py index f6c9e8347175e..a0fa7ab84e44c 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -170,11 +170,11 @@ class Series(base.IndexOpsMixin, generic.NDFrame): Data type for the output Series. If not specified, this will be inferred from `data`. See the :ref:`user guide ` for more usages. - name: str, default None + name : str, default None Sets the name of the array/ series. Can be called with Series.name copy : bool, default False Copy input data. - fastpath: bool, default False + fastpath : bool, default False Internally used to prevent the over-parsing data format/ type which is otherwise required by external calls (such as user calls) """