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:
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.