rint scipy.sparse.coo_matrix. coo_matrix.rint() Element-wise rint. See numpy.rint for more information. Returns: rint : sparse array / matrixResult of applying to the data of this sparse matrix.