From c680e20a5e9f44774fd5abfe688403ac55cb42be Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Thu, 2 May 2024 16:50:57 +0530 Subject: [PATCH 1/2] DOC: add SA01 for pandas.Series --- pandas/core/series.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pandas/core/series.py b/pandas/core/series.py index 8a26d52bb5df1..2065a2ad5530e 100644 --- a/pandas/core/series.py +++ b/pandas/core/series.py @@ -262,6 +262,11 @@ class Series(base.IndexOpsMixin, NDFrame): # type: ignore[misc] copy : bool, default False Copy input data. Only affects Series or 1d ndarray input. See examples. + See Also + -------- + DataFrame : Two-dimensional, size-mutable, potentially heterogeneous tabular data. + Index : Immutable sequence used for indexing and alignment. + Notes ----- Please reference the :ref:`User Guide ` for more information. From b74ea87b84fd0bb192bc5cbeb2c35adf766f5d73 Mon Sep 17 00:00:00 2001 From: Tuhin Sharma Date: Thu, 2 May 2024 16:55:52 +0530 Subject: [PATCH 2/2] DOC: remove SA01 for pandas.Series --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 996f361e9440f..bdeeecd96521e 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -165,7 +165,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.RangeIndex.start SA01" \ -i "pandas.RangeIndex.step SA01" \ -i "pandas.RangeIndex.stop SA01" \ - -i "pandas.Series SA01" \ -i "pandas.Series.__iter__ RT03,SA01" \ -i "pandas.Series.add PR07" \ -i "pandas.Series.backfill PR01,SA01" \