pyarrow.compute.invert

pyarrow.compute.invert(values, /, *, memory_pool=None)

Invert boolean values.

Parameters:
valuesArray-like or scalar-like

Argument to compute function.

memory_poolpyarrow.MemoryPool, optional

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