SciPy

scipy.sparse.csc_matrix.trunc

csc_matrix.trunc()[source]

Element-wise trunc.

See numpy.trunc for more information.