Skip to content

DOC: update the docstring of pandas.Series.clip #20256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Mar 15, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update generic.py
  • Loading branch information
jorisvandenbossche authored Mar 15, 2018
commit 9c1aa01a911eca8df59534b4e6b51a04325ed3b0
5 changes: 3 additions & 2 deletions pandas/core/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -5634,8 +5634,9 @@ def clip(self, lower=None, upper=None, axis=None, inplace=False,

Returns
-------
`pandas.Series`
Series with the values outside the clip boundaries replaced
Series or DataFrame
Same type as calling object with the values outside the
clip boundaries replaced

Examples
--------
Expand Down