Skip to content

Commit

Permalink
Support Tabular filter with Expression (#81)
Browse files Browse the repository at this point in the history
support Tabular filter with Expression
  • Loading branch information
zen-xu authored Sep 12, 2024
1 parent 8996deb commit 0e0ea78
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pyarrow-stubs/__lib_pxi/table.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ from pyarrow._stubs_typing import (
SupportArrowDeviceArray,
SupportArrowStream,
)
from pyarrow.compute import Expression
from pyarrow.interchange.dataframe import _PyArrowDataFrame
from pyarrow.lib import Field, MemoryPool, MonthDayNano, Schema

Expand Down Expand Up @@ -430,7 +431,7 @@ class _Tabular(_PandasConvertible[pd.DataFrame], Generic[_ColumnT]):
def sort_by(self, sorting: Order | list[tuple[str, Order]], **kwargs) -> Self: ...
def take(self, indices: Indices) -> Self: ...
def filter(
self, mask: Mask, null_selection_behavior: NullSelectionBehavior = "drop"
self, mask: Mask | Expression, null_selection_behavior: NullSelectionBehavior = "drop"
) -> Self: ...
def to_pydict(self) -> dict[str, list]: ...
def to_pylist(self) -> list[dict[str, Any]]: ...
Expand Down

0 comments on commit 0e0ea78

Please sign in to comment.