pandas.Panel.clip

Panel.clip(lower=None, upper=None, out=None)

Trim values at input threshold(s)

Parameters:

lower : float, default None

upper : float, default None

Returns:

clipped : Series