Skip to content

Commit

Permalink
fixing doctest: the order of 1,4,2 depends on hash and is not unique
Browse files Browse the repository at this point in the history
  • Loading branch information
realead committed Sep 30, 2020
1 parent 948d958 commit 5cb5b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/core/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down

0 comments on commit 5cb5b3b

Please sign in to comment.