pyarrow.compute.SetLookupOptions

class pyarrow.compute.SetLookupOptions(value_set, *, skip_nulls=False)

Bases: pyarrow._compute._SetLookupOptions

Options for the is_in and index_in functions.

Parameters
value_setArray

Set of values to look for in the input.

skip_nullsbool, default False

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

__init__(self, value_set, *, skip_nulls=False)

Methods

__init__(self, value_set, *[, skip_nulls])

deserialize(buf)

Deserialize options for a function.

serialize(self)

static deserialize(buf)

Deserialize options for a function.

Parameters
bufBuffer

The buffer containing the data to deserialize.

serialize(self)