scipy.sparse.csr_matrix.reshape
scipy.sparse.csr_matrix.set_shape
Element-wise rint.
See numpy.rint for more information.