diff --git a/pandas/core/base.py b/pandas/core/base.py index 4d5cddc086b2a7..8b93f98877f4b8 100644 --- a/pandas/core/base.py +++ b/pandas/core/base.py @@ -1200,9 +1200,9 @@ def value_counts( >>> s = pd.Series([3, 1, 2, 3, 4, np.nan]) >>> s.value_counts(normalize=True) 3.0 0.4 + 1.0 0.2 4.0 0.2 2.0 0.2 - 1.0 0.2 dtype: float64 **bins**