Skip to content

Commit 67b8921

Browse files
AllenDowneyPingviinituutti
authored andcommitted
Clarification in docstring of Series.value_counts (pandas-dev#25062)
1 parent 1ff4851 commit 67b8921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)