Skip to content

Commit

Permalink
DOC: add PR07 for pandas.Index (#58682)
Browse files Browse the repository at this point in the history
* DOC: add PR07 for pandas.Index

* DOC: remove PR07 for pandas.Index
  • Loading branch information
tuhinsharma121 committed May 12, 2024
1 parent d5cf76c commit de9ec9f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion ci/code_checks.sh
Expand Up @@ -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" \
Expand Down
2 changes: 2 additions & 0 deletions pandas/core/indexes/base.py
Expand Up @@ -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`.
Expand Down

0 comments on commit de9ec9f

Please sign in to comment.