Skip to content

Commit

Permalink
Fix doctest dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
DriesSchaumont committed Apr 15, 2021
1 parent 4c2b3c5 commit b7b1311
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7543,11 +7543,11 @@ def clip(
>>> t = pd.Series([2, -4, -1, 6, 3])
>>> t
0 2
1 -4
2 -1
3 6
4 3
0 2.0
1 -4.0
2 -1.0
3 6.0
4 3.0
dtype: int64
>>> df.clip(t, t + 4, axis=0)
Expand Down

0 comments on commit b7b1311

Please sign in to comment.