polars.io.partition.BasePartitionContext#
- class polars.io.partition.BasePartitionContext(
- file_idx: int,
- file_path: Path,
- full_path: Path,
Callback context for a partition creation.
Warning
This functionality is currently considered unstable. It may be changed at any point without it being considered a breaking change.
See also
Methods
__init__
(file_idx, file_path, full_path)Attributes
file_idx
The index of the created file starting from zero.
file_path
The chosen output path before the callback was called without
base_path
.full_path
The chosen output path before the callback was called with
base_path
.