SciPy

scipy.sparse.coo_matrix.trunc

coo_matrix.trunc()[source]

Element-wise trunc.

See numpy.trunc for more information.