Bases: _Weakrefable
Methods
Attributes
Convert a filter expression into a tuple of (directory, filename) using the current partitioning scheme
pyarrow.dataset.Expression
tuple
[str
, str
]
Examples
Specify the Schema for paths like â/2009/Juneâ:
>>> import pyarrow as pa >>> import pyarrow.dataset as ds >>> import pyarrow.compute as pc >>> part = ds.partitioning(pa.schema([("year", pa.int16()), ... ("month", pa.string())])) >>> part.format( ... (pc.field("year") == 1862) & (pc.field("month") == "Jan") ... ) ('1862/Jan', '')
Parse a path into a partition expression.
str
pyarrow.dataset.Expression
The arrow Schema attached to the partitioning.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4