scipy.sparse
scipy.sparse.dia_matrix.transpose
scipy.sparse.dok_matrix
dia_matrix.
trunc
Element-wise trunc.
See numpy.trunc for more information.