diff --git a/ci/code_checks.sh b/ci/code_checks.sh index f49bfb1581332..7cb55c146f4f9 100755 --- a/ci/code_checks.sh +++ b/ci/code_checks.sh @@ -85,8 +85,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then -i "pandas.DataFrame.swaplevel SA01" \ -i "pandas.DataFrame.to_markdown SA01" \ -i "pandas.DataFrame.var PR01,RT03,SA01" \ - -i "pandas.Grouper PR02" \ - -i "pandas.Index PR07" \ + -i "pandas.Grouper PR02" \ -i "pandas.Index.get_indexer PR07,SA01" \ -i "pandas.Index.get_indexer_for PR01,SA01" \ -i "pandas.Index.get_indexer_non_unique PR07,SA01" \ diff --git a/pandas/core/indexes/base.py b/pandas/core/indexes/base.py index 054f522e7a37b..144c84dfb555d 100644 --- a/pandas/core/indexes/base.py +++ b/pandas/core/indexes/base.py @@ -326,6 +326,7 @@ class Index(IndexOpsMixin, PandasObject): Parameters ---------- data : array-like (1-dimensional) + Example: Lists, Tuples, NumPy Arrays, pandas Series, Range Objects. dtype : str, numpy.dtype, or ExtensionDtype, optional Data type for the output Index. If not specified, this will be inferred from `data`.