numpy.record.choose
numpy.record.compress
method
record.
clip
Scalar method identical to the corresponding array attribute.
Please see ndarray.clip.
ndarray.clip