pyarrow.compute.FilterOptions

class pyarrow.compute.FilterOptions(null_selection_behavior='drop')

Bases: _FilterOptions

Options for selecting with a boolean filter.

Parameters:
null_selection_behaviorstr, default “drop”

How to handle nulls in the selection filter. Accepted values are “drop”, “emit_null”.

__init__(self, null_selection_behavior='drop')

Methods

__init__(self[, null_selection_behavior])

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)