pyarrow.compute.or_kleene¶
- pyarrow.compute.or_kleene(x, y, /, *, memory_pool=None)¶
Logical ‘or’ boolean values (Kleene logic).
This function behaves as follows with nulls:
true or null = true
null or true = true
false or null = null
null or false = null
null or null = null
In other words, in this context a null value really means “unknown”, and an unknown value ‘or’ true is always true. For a different null behavior, see function “or”.
- Parameters:
- xArray-like or scalar-like
Argument to compute function.
- yArray-like or scalar-like
Argument to compute function.
- memory_pool
pyarrow.MemoryPool
, optional If not passed, will allocate memory from the default memory pool.