pyarrow.compute.ln_checked#

pyarrow.compute.ln_checked(x, /, *, memory_pool=None)#

Compute natural logarithm.

Non-positive values raise an error. Null values return null. Use function “ln” if you want non-positive values to return -inf or NaN.

Parameters:
xArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.