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" \ 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`.