Skip to content

Commit 900f653

Browse files
committed
improve sort parameter doc of SeriesGroupBy.value_counts
1 parent 056ddba commit 900f653

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.
749+
Sort by frequencies when True. Sort by DataFrame column values 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)