COO.rint

COO.rint(out=None)[source]

Round elements of the array to the nearest integer.

See also

scipy.sparse.coo_matrix.rint()
SciPy sparse equivalent function
numpy.rint
NumPy equivalent ufunc.
COO.elemwise
Apply an arbitrary element-wise function to one or two arguments.

Notes

The out parameter is provided just for compatibility with Numpy and isn’t actually supported.