scipy.sparse.csr_array.

trunc#

csr_array.trunc()[source]#

Element-wise trunc. See numpy.trunc for more information.

Returns:
truncsparse array / matrix

Result of applying numpy.trunc to the data of this sparse matrix.