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
  • x (Array-like or scalar-like) – Argument to compute function

  • y (Array-like or scalar-like) – Argument to compute function

  • memory_pool (pyarrow.MemoryPool, optional) – If not passed, will allocate memory from the default memory pool.