From ee2b0cc8ae5e47dcc4a15003b5747cff25934b57 Mon Sep 17 00:00:00 2001 From: tuhinsharma121 Date: Sun, 12 May 2024 20:53:58 +0530 Subject: [PATCH 1/2] DOC: add PR07 for pandas.Index --- pandas/core/indexes/base.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index d128139e0f1c1..d6849136bb487 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -326,6 +326,8 @@ class Index(IndexOpsMixin, PandasObject): Parameters ---------- data : array-like (1-dimensional) + An array-like structure containing the data for the index. This could be a + Python list, a NumPy array, or a pandas Series. dtype : str, numpy.dtype, or ExtensionDtype, optional Data type for the output Index. If not specified, this will be inferred from `data`. From ec67c9f7e99a2242bafe637483fa4091d321bab3 Mon Sep 17 00:00:00 2001 From: tuhinsharma121 Date: Sun, 12 May 2024 21:08:16 +0530 Subject: [PATCH 2/2] DOC: remove PR07 for pandas.Index --- ci/code_checks.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/ci/code_checks.sh b/ci/code_checks.sh index 13585cbe5e857..2a21e7c1f458b 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -76,7 +76,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.min RT03" \ -i "pandas.DataFrame.plot PR02,SA01" \ -i "pandas.Grouper PR02" \ - -i "pandas.Index PR07" \ -i "pandas.IntervalIndex.left GL08" \ -i "pandas.IntervalIndex.set_closed RT03,SA01" \ -i "pandas.MultiIndex PR01" \