scipy.sparse.dia_matrix. rint# dia_matrix.rint()[source]# Element-wise rint. See numpy.rint for more information.