Skip to content

Commit 37fcea4

Browse files
committed
modify sort parameter doc change in DataFrameGroupby.value_counts
1 parent b77066f commit 37fcea4

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
@@ -2303,7 +2303,7 @@ def value_counts(
23032303
normalize : bool, default False
23042304
Return proportions rather than frequencies.
23052305
sort : bool, default True
2306-
Sort by frequencies.
2306+
Sort by frequencies when True. Sort by DataFrame column values when False.
23072307
ascending : bool, default False
23082308
Sort in ascending order.
23092309
dropna : bool, default True

0 commit comments

Comments
 (0)