Skip to content

Commit 7d28d96

Browse files
committed
update SeriesGroupBy.value_counts sort doc
1 parent 6e5fe2d commit 7d28d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/groupby/generic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ def value_counts(
746746
normalize : bool, default False
747747
Return proportions rather than frequencies.
748748
sort : bool, default True
749-
Sort by frequencies when True. Sort by DataFrame column values when False.
749+
Sort by frequencies when True. Preserve the order of the data when False.
750750
ascending : bool, default False
751751
Sort in ascending order.
752752
bins : int or list of ints, optional

0 commit comments

Comments
 (0)