Closed
Description
Hello Numpy,
I'm using the clip function, and have realized I only want to clip on one side. Setting only a_min
results in
TypeError: clip() missing 1 required positional argument: 'a_max'
I see this conversation from 2007, but I'm unclear as to what the conclusion attained is.
Would it be possible to support 1-sided clipping. If not, is there a better way to do this (which could be linked to in the numpy documentation?)
Thanks!