pyarrow.compute.power

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

Raise arguments to power element-wise.

Integer to negative integer power returns an error. However, integer overflow wraps around. If either base or exponent is null the result will be null.

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.