SciPy

scipy.sparse.csr_matrix.trunc

csr_matrix.trunc()[source]

Element-wise trunc.

See numpy.trunc for more information.

Previous topic

scipy.sparse.csr_matrix.transpose

Next topic

scipy.sparse.dia_matrix