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

Compute natural log of arguments element-wise.

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

  • x (Array-like or scalar-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.