SciPy

scipy.sparse.csc_matrix.rint

csc_matrix.rint()[source]

Element-wise rint.

See numpy.rint for more information.