polars_io

Trait WriteDataFrameToFile

Source
pub trait WriteDataFrameToFile {
    // Required method
    fn write_df_to_file<W: Write>(
        &self,
        df: DataFrame,
        file: W,
    ) -> PolarsResult<()>;
}

Required Methods§

Source

fn write_df_to_file<W: Write>(&self, df: DataFrame, file: W) -> PolarsResult<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl WriteDataFrameToFile for IpcWriterOptions

Available on crate features parquet and ipc only.
Source§

impl WriteDataFrameToFile for ParquetWriteOptions

Available on crate feature parquet only.