pyarrow.compute.power_checked

pyarrow.compute.power_checked(base, exponent, *, memory_pool=None)

Raise arguments to power element-wise.

An error is returned when integer to negative integer power is encountered, or integer overflow is encountered.

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

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