pyarrow.compute.xor#

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

Logical ‘xor’ boolean values.

When a null is encountered in either input, a null is output.

Parameters:
xArray-like or scalar-like

Argument to compute function.

yArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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