GCXS.clip

GCXS.clip(min=None, max=None, out=None)

Clip (limit) the values in the array.

Return an array whose values are limited to [min, max]. One of min or max must be given.

See also

sparse.clip

For full documentation and more details.

numpy.clip

Equivalent NumPy function.