From 7df7a8e4f0e601c5115e72e5106502aadbc4cea9 Mon Sep 17 00:00:00 2001 From: Allen Downey Date: Thu, 31 Jan 2019 15:32:58 -0500 Subject: [PATCH] Clarification in docstring of Series.value_counts --- pandas/core/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/base.py b/pandas/core/base.py index c02ba88ea7fda..7b3152595e4b2 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -1234,7 +1234,7 @@ def value_counts(self, normalize=False, sort=True, ascending=False, If True then the object returned will contain the relative frequencies of the unique values. sort : boolean, default True - Sort by values. + Sort by frequencies. ascending : boolean, default False Sort in ascending order. bins : integer, optional