pyarrow.compute.log1p#
- pyarrow.compute.log1p(x, /, *, memory_pool=None)#
Compute natural log of (1+x).
Values <= -1 return -inf or NaN. Null values return null. This function may be more precise than log(1 + x) for x close to zero. Use function “log1p_checked” if you want invalid 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.