pyarrow.acero.FilterNodeOptions¶
- class pyarrow.acero.FilterNodeOptions(filter_expression)¶
Bases:
_FilterNodeOptions
Make a node which excludes some rows from batches passed through it.
This is the option class for the “filter” node factory.
The “filter” operation provides an option to define data filtering criteria. It selects rows where the given expression evaluates to true. Filters can be written using pyarrow.compute.Expression, and the expression must have a return type of boolean.
- Parameters:
- filter_expression
pyarrow.compute.Expression
- filter_expression
- __init__(self, Expression filter_expression)¶
Methods
__init__
(self, Expression filter_expression)