pandas.Series.clip_upper — pandas 0.16.2 documentation (original) (raw)
Series.clip_upper(threshold, axis=None)¶
Return copy of input with values above given value(s) truncated
Parameters: | threshold : float or array_like axis : int or string axis name, optional Align object with threshold along the given axis. |
---|---|
Returns: | clipped : same type as input |