SciPy

scipy.sparse.coo_matrix.rint

coo_matrix.rint()[source]

Element-wise rint.

See numpy.rint for more information.