scipy.sparse
dia_matrix.
rint
Element-wise rint.
See numpy.rint for more information.
scipy.sparse.dia_matrix.resize
scipy.sparse.dia_matrix.set_shape