From cc8b14e6ab4c23a374f18c85e304968a2f7a9d28 Mon Sep 17 00:00:00 2001 From: Sam Baumann Date: Tue, 14 May 2024 22:02:06 -0400 Subject: [PATCH 1/4] added description for 'other' parameter --- pandas/core/ops/docstrings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandas/core/ops/docstrings.py b/pandas/core/ops/docstrings.py index 8063a52a02163..0ad6db0aefe9c 100644 --- a/pandas/core/ops/docstrings.py +++ b/pandas/core/ops/docstrings.py @@ -436,6 +436,7 @@ def make_flex_doc(op_name: str, typ: str) -> str: Parameters ---------- other : Series or scalar value + The second operand in this operation. level : int or name Broadcast across a level, matching Index values on the passed MultiIndex level. From acd1aa7c4749495751a74f5b24861a1486450675 Mon Sep 17 00:00:00 2001 From: Sam Baumann Date: Tue, 14 May 2024 22:03:28 -0400 Subject: [PATCH 2/4] remove fixed checks --- ci/code_checks.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 47446af728cbb..6e14d6b90d525 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -166,7 +166,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.dt.tz_localize PR01,PR02" \ -i "pandas.Series.dt.unit GL08" \ -i "pandas.Series.eq PR07,SA01" \ - -i "pandas.Series.floordiv PR07" \ -i "pandas.Series.ge PR07,SA01" \ -i "pandas.Series.gt PR07,SA01" \ -i "pandas.Series.kurt RT03,SA01" \ @@ -180,18 +179,15 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.pad PR01,SA01" \ -i "pandas.Series.plot PR02,SA01" \ -i "pandas.Series.pop RT03,SA01" \ - -i "pandas.Series.pow PR07" \ -i "pandas.Series.prod RT03" \ -i "pandas.Series.product RT03" \ -i "pandas.Series.radd PR07" \ -i "pandas.Series.rdiv PR07" \ -i "pandas.Series.reorder_levels RT03,SA01" \ -i "pandas.Series.rfloordiv PR07" \ - -i "pandas.Series.rmod PR07" \ -i "pandas.Series.rmul PR07" \ -i "pandas.Series.rpow PR07" \ -i "pandas.Series.rsub PR07" \ - -i "pandas.Series.rtruediv PR07" \ -i "pandas.Series.sem PR01,RT03,SA01" \ -i "pandas.Series.skew RT03,SA01" \ -i "pandas.Series.sparse PR01,SA01" \ @@ -231,7 +227,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.str.wrap RT03,SA01" \ -i "pandas.Series.str.zfill RT03" \ -i "pandas.Series.struct.dtypes SA01" \ - -i "pandas.Series.sub PR07" \ -i "pandas.Series.sum RT03" \ -i "pandas.Series.swaplevel SA01" \ -i "pandas.Series.to_dict SA01" \ From 25897591cc0e4f6fd7006ba1fc87729d304f8860 Mon Sep 17 00:00:00 2001 From: Sam Baumann Date: Tue, 14 May 2024 22:09:15 -0400 Subject: [PATCH 3/4] removed more fixed checks --- ci/code_checks.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 6e14d6b90d525..fd6f77212c076 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -165,17 +165,17 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.dt.tz_convert PR01,PR02" \ -i "pandas.Series.dt.tz_localize PR01,PR02" \ -i "pandas.Series.dt.unit GL08" \ - -i "pandas.Series.eq PR07,SA01" \ - -i "pandas.Series.ge PR07,SA01" \ - -i "pandas.Series.gt PR07,SA01" \ + -i "pandas.Series.eq SA01" \ + -i "pandas.Series.ge SA01" \ + -i "pandas.Series.gt SA01" \ -i "pandas.Series.kurt RT03,SA01" \ -i "pandas.Series.kurtosis RT03,SA01" \ - -i "pandas.Series.le PR07,SA01" \ + -i "pandas.Series.le SA01" \ -i "pandas.Series.list.__getitem__ SA01" \ -i "pandas.Series.list.flatten SA01" \ -i "pandas.Series.list.len SA01" \ - -i "pandas.Series.lt PR07,SA01" \ - -i "pandas.Series.ne PR07,SA01" \ + -i "pandas.Series.lt SA01" \ + -i "pandas.Series.ne SA01" \ -i "pandas.Series.pad PR01,SA01" \ -i "pandas.Series.plot PR02,SA01" \ -i "pandas.Series.pop RT03,SA01" \ From 25cd51fb27c93bccb9ea60d01c352e91caccbc63 Mon Sep 17 00:00:00 2001 From: Sam Baumann Date: Tue, 14 May 2024 23:24:12 -0400 Subject: [PATCH 4/4] remove more fixed checks --- ci/code_checks.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index fd6f77212c076..f93e87074d650 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -181,13 +181,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.Series.pop RT03,SA01" \ -i "pandas.Series.prod RT03" \ -i "pandas.Series.product RT03" \ - -i "pandas.Series.radd PR07" \ - -i "pandas.Series.rdiv PR07" \ -i "pandas.Series.reorder_levels RT03,SA01" \ - -i "pandas.Series.rfloordiv PR07" \ - -i "pandas.Series.rmul PR07" \ - -i "pandas.Series.rpow PR07" \ - -i "pandas.Series.rsub PR07" \ -i "pandas.Series.sem PR01,RT03,SA01" \ -i "pandas.Series.skew RT03,SA01" \ -i "pandas.Series.sparse PR01,SA01" \