pyarrow.compute.true_unless_null#
- pyarrow.compute.true_unless_null(values, /, *, memory_pool=None)#
Return true if non-null, else return null.
For each input value, emit true iff the value is valid (non-null), otherwise emit null.
- Parameters:
- valuesArray-like or scalar-like
Argument to compute function.
- memory_pool
pyarrow.MemoryPool
, optional If not passed, will allocate memory from the default memory pool.