scipy.sparse.coo_matrix.

rint#

coo_matrix.rint()[source]#

逐元素取整到最接近的整数。

有关更多信息,请参见numpy.rint