Skip to content

Commit

Permalink
DOC: Fix error in Series.clip and DataFrame.clip (#33282)
Browse files Browse the repository at this point in the history
  • Loading branch information
farhanreynaldo authored Apr 4, 2020
1 parent ab60392 commit 3532e3e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7299,6 +7299,12 @@ def clip(
Same type as calling object with the values outside the
clip boundaries replaced.
See Also
--------
Series.clip : Trim values at input threshold in series.
DataFrame.clip : Trim values at input threshold in dataframe.
numpy.clip : Clip (limit) the values in an array.
Examples
--------
>>> data = {'col_0': [9, -3, 0, -1, 5], 'col_1': [-2, -7, 6, 8, -5]}
Expand Down

0 comments on commit 3532e3e

Please sign in to comment.