voiage.contracts.normalized_input.NormalizedInputBundle
Immutable tables plus the manifest that makes them meaningful.
The data frame representation is Apache Arrow because it has deterministic logical schemas and supports zero-copy handoff to Polars and other engines.
Methods
Section titled “Methods”table([positional or keyword] self: None = None, [positional or keyword] table_id: str = None) -> pa.TableReturn the immutable Arrow table selected by its stable identifier.
Parameters:
selftable_idstr
Returns: pa.Table
write_ipc
Section titled “write_ipc”write_ipc([positional or keyword] self: None = None, [positional or keyword] path: Path = None) -> NoneWrite a deterministic single-table IPC file with its manifest metadata.
Parameters:
selfpathPath
Returns: None
write_parquet
Section titled “write_parquet”write_parquet([positional or keyword] self: None = None, [positional or keyword] path: Path = None) -> NoneWrite a deterministic single-table Parquet file with bundle metadata.
Parameters:
selfpathPath
Returns: None
read_ipc
Section titled “read_ipc”read_ipc([positional or keyword] cls: None = None, [positional or keyword] path: Path = None) -> NormalizedInputBundleRestore a normalized bundle previously written by :meth:write_ipc.
Parameters:
clspathPath
Returns: NormalizedInputBundle
read_parquet
Section titled “read_parquet”read_parquet([positional or keyword] cls: None = None, [positional or keyword] path: Path = None) -> NormalizedInputBundleRestore a normalized bundle previously written by :meth:write_parquet.
Parameters:
clspathPath
Returns: NormalizedInputBundle