pub trait WithParquet {
// Required methods
fn write_parquet(
&self,
file_path: &str,
compression: Compression,
) -> 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§
fn write_parquet( &self, file_path: &str, compression: Compression, ) -> Result<(), Box<dyn Error>>
fn read_parquet(file_path: &str) -> Result<Self, Box<dyn Error>>where
Self: Sized,
Implementors§
impl WithParquet for DataFrame
Available on crate feature
parquet only.