From da5669ea00ec0b6a5d064b1b68a157373fcd5e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Moron?= Date: Sun, 3 Feb 2019 11:49:14 +0000 Subject: [PATCH 1/6] added type set_option docstring in config.py --- pandas/core/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/config.py b/pandas/core/config.py index 0f43ca65d187a..d9f9b9c898b1d 100644 --- a/pandas/core/config.py +++ b/pandas/core/config.py @@ -282,8 +282,8 @@ def __doc__(self): Note: partial matches are supported for convenience, but unless you use the full option name (e.g. x.y.z.option_name), your code may break in future versions if new options with similar names are introduced. -value : - new value of option. +value : str, int, float, bool + New value of option. Returns ------- From 6004ac3e914914efe7a1aee8dedd49ad032387cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Moron?= Date: Sun, 3 Feb 2019 11:58:21 +0000 Subject: [PATCH 2/6] added type to boxplot_frame_groupby docstring in plotting/_corew.py --- pandas/plotting/_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index 85549bafa8dc0..aba6f2d795757 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -2548,7 +2548,7 @@ def boxplot_frame_groupby(grouped, subplots=True, column=None, fontsize=None, Parameters ---------- grouped : Grouped DataFrame - subplots : + subplots : bol * ``False`` - no subplots will be used * ``True`` - create a subplot for each group column : column name or list of names, or vector From bacc17adea221e6a00433077036e706c0d3b35a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Moron?= Date: Sun, 3 Feb 2019 12:12:48 +0000 Subject: [PATCH 3/6] indented versionadded in ExcelWriter docstring io/excel.py --- pandas/io/excel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/io/excel.py b/pandas/io/excel.py index 3d85ae7fd1f46..f70b43cccabba 100644 --- a/pandas/io/excel.py +++ b/pandas/io/excel.py @@ -1002,7 +1002,7 @@ class ExcelWriter(object): mode : {'w' or 'a'}, default 'w' File mode to use (write or append). - .. versionadded:: 0.24.0 + .. versionadded:: 0.24.0 Attributes ---------- From 6d6e0544255b3a8f4806d7044ec34f2ed40405f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Moron?= Date: Sun, 3 Feb 2019 12:17:54 +0000 Subject: [PATCH 4/6] updated code_check.sh to take into account PR10 type errors --- ci/code_checks.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index c8bfc564e7573..62d93897b08c0 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -240,8 +240,8 @@ fi ### DOCSTRINGS ### if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then - MSG='Validate docstrings (GL06, GL07, GL09, SS04, PR03, PR05, EX04)' ; echo $MSG - $BASE_DIR/scripts/validate_docstrings.py --format=azure --errors=GL06,GL07,GL09,SS04,PR03,PR05,EX04 + MSG='Validate docstrings (GL06, GL07, GL09, SS04, PR03, PR05, PR10, EX04)' ; echo $MSG + $BASE_DIR/scripts/validate_docstrings.py --format=azure --errors=GL06,GL07,GL09,SS04,PR03,PR05,PR10,EX04 RET=$(($RET + $?)) ; echo $MSG "DONE" fi From dcf11aa97f6e3425fd01b4b0353563a13151af07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Moron?= Date: Mon, 4 Feb 2019 07:39:08 +0000 Subject: [PATCH 5/6] updated type in plotting/_core.py --- pandas/plotting/_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/plotting/_core.py b/pandas/plotting/_core.py index aba6f2d795757..e791b63d00580 100644 --- a/pandas/plotting/_core.py +++ b/pandas/plotting/_core.py @@ -2548,7 +2548,7 @@ def boxplot_frame_groupby(grouped, subplots=True, column=None, fontsize=None, Parameters ---------- grouped : Grouped DataFrame - subplots : bol + subplots : bool * ``False`` - no subplots will be used * ``True`` - create a subplot for each group column : column name or list of names, or vector From fc8b1c408517a728ea77fc88e346fc0bf079eb71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Moron?= Date: Thu, 7 Feb 2019 20:10:14 +0000 Subject: [PATCH 6/6] modified type to object for value variable in config.py --- pandas/core/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/config.py b/pandas/core/config.py index d9f9b9c898b1d..01664fffb1e27 100644 --- a/pandas/core/config.py +++ b/pandas/core/config.py @@ -282,7 +282,7 @@ def __doc__(self): Note: partial matches are supported for convenience, but unless you use the full option name (e.g. x.y.z.option_name), your code may break in future versions if new options with similar names are introduced. -value : str, int, float, bool +value : object New value of option. Returns