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
baseArray-like or scalar-like

Argument to compute function.

exponentArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

If not passed, will allocate memory from the default memory pool.