Skip to content

Commit 01483d7

Browse files
AllenDowneyjreback
authored andcommitted
Clarification in docstring of Series.value_counts (#25062)
1 parent 76f5d2d commit 01483d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pandas/core/base.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ def value_counts(self, normalize=False, sort=True, ascending=False,
12341234
If True then the object returned will contain the relative
12351235
frequencies of the unique values.
12361236
sort : boolean, default True
1237-
Sort by values.
1237+
Sort by frequencies.
12381238
ascending : boolean, default False
12391239
Sort in ascending order.
12401240
bins : integer, optional

0 commit comments

Comments
 (0)