scipy.sparse.csr_matrix.

ceil#

csr_matrix.ceil()[source]#

Element-wise ceil. See numpy.ceil for more information.

Returns:
ceilsparse array / matrix

Result of applying numpy.ceil to the data of this sparse matrix.