pyarrow.compute.all

pyarrow.compute.all(array, *, memory_pool=None, options=None, skip_nulls=True, min_count=1)

Test whether all elements in a boolean array evaluate to true.

Null values are ignored by default. If null values are taken into account by setting ScalarAggregateOptions parameter skip_nulls = false then Kleene logic is used. See KleeneAnd for more details on Kleene logic.

Parameters
  • array (Array-like) – Argument to compute function

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

  • options (pyarrow.compute.ScalarAggregateOptions, optional) – Parameters altering compute function semantics.

  • skip_nulls (optional) – Parameter for ScalarAggregateOptions constructor. Either options or skip_nulls can be passed, but not both at the same time.

  • min_count (optional) – Parameter for ScalarAggregateOptions constructor. Either options or min_count can be passed, but not both at the same time.