pyarrow.compute.and_#

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

Logical ‘and’ boolean values.

When a null is encountered in either input, a null is output. For a different null behavior, see function “and_kleene”.

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.