pandas 0.9.0 documentation

pandas.DataFrame.clip_upper

DataFrame.clip_upper(threshold)

Trim values above threshold

Returns :clipped : DataFrame