Trait peroxide::structure::dataframe::WithParquet

source ·
pub trait WithParquet {
    // Required methods
    fn write_parquet(
        &self,
        file_path: &str,
        compression: CompressionOptions,
    ) -> Result<(), Box<dyn Error>>;
    fn read_parquet(file_path: &str) -> Result<Self, Box<dyn Error>>
       where Self: Sized;
}
Expand description

To handle parquet format

Required Methods§

source

fn write_parquet( &self, file_path: &str, compression: CompressionOptions, ) -> Result<(), Box<dyn Error>>

source

fn read_parquet(file_path: &str) -> Result<Self, Box<dyn Error>>
where Self: Sized,

Implementors§