pyarrow.compute.logb_checked

pyarrow.compute.logb_checked(x, b, *, memory_pool=None)

Compute log of x to base b of arguments element-wise.

Values <= 0 return -inf or NaN. Null values return null. Use function “logb” if you want non-positive values to return -inf or NaN.

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

  • b (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.