Skip to content

Commit de9ec9f

Browse files
DOC: add PR07 for pandas.Index (#58682)
* DOC: add PR07 for pandas.Index * DOC: remove PR07 for pandas.Index
1 parent d5cf76c commit de9ec9f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
7676
-i "pandas.DataFrame.min RT03" \
7777
-i "pandas.DataFrame.plot PR02,SA01" \
7878
-i "pandas.Grouper PR02" \
79-
-i "pandas.Index PR07" \
8079
-i "pandas.IntervalIndex.left GL08" \
8180
-i "pandas.IntervalIndex.set_closed RT03,SA01" \
8281
-i "pandas.MultiIndex PR01" \

pandas/core/indexes/base.py

+2
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,8 @@ class Index(IndexOpsMixin, PandasObject):
326326
Parameters
327327
----------
328328
data : array-like (1-dimensional)
329+
An array-like structure containing the data for the index. This could be a
330+
Python list, a NumPy array, or a pandas Series.
329331
dtype : str, numpy.dtype, or ExtensionDtype, optional
330332
Data type for the output Index. If not specified, this will be
331333
inferred from `data`.

0 commit comments

Comments
 (0)