ordeq_polars
PolarsEagerCSV
dataclass
¶
Bases: IO[DataFrame]
IO for loading and saving CSV using Polars.
Example:
1 2 3 4 5 6 7 | |
PolarsEagerExcel
dataclass
¶
Bases: IO[DataFrame]
IO for loading and saving Excel using Polars.
Example:
1 2 3 4 5 6 7 | |
PolarsEagerIceberg
dataclass
¶
Bases: Output[DataFrame]
IO for saving Iceberg tables eagerly using Polars.
Example:
1 2 3 4 | |
save(df, mode='append')
¶
Write a DataFrame to an Iceberg table.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
df
|
DataFrame
|
The DataFrame to write |
required |
mode
|
Literal['append', 'overwrite']
|
The write mode ("append" or "overwrite") |
'append'
|
PolarsEagerJSON
dataclass
¶
Bases: IO[DataFrame]
IO to load from and save to JSON data using Polars.
Example usage:
1 2 3 | |
PolarsEagerNdJSON
dataclass
¶
Bases: IO[DataFrame]
IO to load from and save to newline-delimited JSON data using Polars.
Example usage:
1 2 3 | |
PolarsEagerParquet
dataclass
¶
Bases: IO[DataFrame]
IO for loading and saving Parquet using Polars.
Example:
1 2 3 4 5 6 7 | |
PolarsLazyCSV
dataclass
¶
Bases: IO[LazyFrame]
IO for loading and saving CSV lazily using Polars.
Example:
1 2 3 4 5 6 7 | |
PolarsLazyIceberg
dataclass
¶
Bases: IO[LazyFrame]
IO for loading Iceberg tables lazily using Polars.
Example:
1 2 3 4 | |
load(**load_options)
¶
Load an Iceberg table.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
**load_options
|
Any
|
Additional options passed to pl.read_iceberg. |
{}
|
Returns:
| Type | Description |
|---|---|
LazyFrame
|
LazyFrame containing the Iceberg table data |
PolarsLazyNdJSON
dataclass
¶
Bases: IO[LazyFrame]
IO to load lazily from newline-delimited JSON data using Polars.
Example usage:
1 2 3 | |
PolarsLazyParquet
dataclass
¶
Bases: IO[LazyFrame]
IO for loading and saving Parquet lazily using Polars.
Example:
1 2 3 4 5 6 7 | |