[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../api/../generated/pyarrow.compute.or_kleene.html [Back]  [Original]

pyarrow.compute.or_kleene — Apache Arrow v25.0.1
Back to top
Search the docs ...:

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_poolpyarrow.MemoryPool, optional

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


Web Proxy Viewer  |  New URL  |  Original Page