polars_io::partition

Function write_partitioned_dataset

Source
pub fn write_partitioned_dataset<I, S, W>(
    df: &mut DataFrame,
    path: &Path,
    partition_by: I,
    file_write_options: &W,
    chunk_size: usize,
) -> PolarsResult<()>
where I: IntoIterator<Item = S>, S: Into<PlSmallStr>, W: WriteDataFrameToFile + Send + Sync,
Available on crate feature parquet only.
Expand description

Write a partitioned parquet dataset. This functionality is unstable.