Skip to content

Commit 838e09c

Browse files
authored
DOC: remove Categorical.unique refs from doc-strings (#15964)
closes #15957
1 parent d984cfc commit 838e09c

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

doc/source/api.rst

-8
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,6 @@ the Categorical back to a numpy array, so categories and order information is no
660660

661661
Categorical.__array__
662662

663-
Categorical methods
664-
665-
.. autosummary::
666-
:toctree: generated/
667-
668-
Categorical.unique
669-
Categorical.value_counts
670-
671663
Plotting
672664
~~~~~~~~
673665

pandas/core/base.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -871,8 +871,9 @@ def value_counts(self, normalize=False, sort=True, ascending=False,
871871
872872
See Also
873873
--------
874-
pandas.unique
875-
pandas.Categorical.unique
874+
unique
875+
Index.unique
876+
Series.unique
876877
""")
877878

878879
@Appender(_shared_docs['unique'] % _indexops_doc_kwargs)

0 commit comments

Comments
 (0)