Skip to content

Commit 7019bc7

Browse files
committed
docstring
1 parent ce4eeef commit 7019bc7

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

pandas/core/arrays/_mixins.py

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,8 +468,23 @@ def insert(self, loc: int, item) -> Self:
468468
# These are not part of the EA API, but we implement them because
469469
# pandas assumes they're there.
470470

471-
@doc(ExtensionArray.value_counts)
472471
def value_counts(self, dropna: bool = True) -> Series:
472+
"""
473+
Return a Series containing counts of each unique value.
474+
475+
Parameters
476+
----------
477+
dropna : bool, default True
478+
Don't include counts of missing values.
479+
480+
Returns
481+
-------
482+
counts : Series
483+
484+
See Also
485+
--------
486+
Series.value_counts
487+
"""
473488
if self.ndim != 1:
474489
raise NotImplementedError
475490

0 commit comments

Comments
 (0)