Skip to content

Commit 9e7565a

Browse files
DOC: Enforce Numpy Docstring Validation for pandas.Index.unique (#58399)
* DOC: add RT03 to pandas.Index.unique * DOC: remove pandas.Index.unique
1 parent ea2f857 commit 9e7565a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

ci/code_checks.sh

-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
153153
-i "pandas.Index.take PR01,PR07" \
154154
-i "pandas.Index.to_list RT03" \
155155
-i "pandas.Index.union PR07,RT03,SA01" \
156-
-i "pandas.Index.unique RT03" \
157156
-i "pandas.Index.view GL08" \
158157
-i "pandas.Int16Dtype SA01" \
159158
-i "pandas.Int32Dtype SA01" \

pandas/core/indexes/base.py

+1
Original file line numberDiff line numberDiff line change
@@ -2647,6 +2647,7 @@ def unique(self, level: Hashable | None = None) -> Self:
26472647
Returns
26482648
-------
26492649
Index
2650+
Unique values in the index.
26502651
26512652
See Also
26522653
--------

0 commit comments

Comments
 (0)