pandas 0.8.0 documentation

pandas.Series.clip_upper

Series.clip_upper(threshold)

Return copy of series with values above given value truncated

Returns :clipped : Series

See also

clip