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