pyarrow.compute.ln#
- pyarrow.compute.ln(x, /, *, memory_pool=None)#
Compute natural logarithm.
Non-positive values return -inf or NaN. Null values return null. Use function “ln_checked” if you want non-positive values to raise an error.
- Parameters
- xArray-like or scalar-like
Argument to compute function.
- memory_pool
pyarrow.MemoryPool
, optional If not passed, will allocate memory from the default memory pool.