pyarrow.compute.is_in#

pyarrow.compute.is_in(values,/,value_set,*,skip_nulls=False,options=None,memory_pool=None)#

Find each element in a set of values.

For each element invalues, return true if it is found in a givenset of values, false otherwise.The set of values to look for must be given in SetLookupOptions.By default, nulls are matched against the value set, this can bechanged in SetLookupOptions.

Parameters:
valuesArray-like or scalar-like

Argument to compute function.

value_setArray

Set of values to look for in the input.

skip_nullsbool, defaultFalse

If False, nulls in the input are matched in the value_set justlike regular values.If True, nulls in the input always fail matching.

optionspyarrow.compute.SetLookupOptions, optional

Alternative way of passing options.

memory_poolpyarrow.MemoryPool, optional

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