pyarrow.compute.sqrt#

pyarrow.compute.sqrt(x, /, *, memory_pool=None)#

Takes the square root of arguments element-wise.

A negative argument returns a NaN. For a variant that returns an error, use function “sqrt_checked”.

Parameters
xArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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