Available on crate feature
parquet only.Expand description
Functionality for reading Apache Parquet files.
§Examples
use polars_core::prelude::*;
use polars_io::prelude::*;
use std::fs::File;
fn example() -> PolarsResult<DataFrame> {
let r = File::open("example.parquet").unwrap();
let reader = ParquetReader::new(r);
reader.finish()
}Modules§
Structs§
- File
Metadata - Metadata for a Parquet file.
- Parquet
Object Store cloud - Parquet
Options - Parquet
Reader - Read Apache parquet format into a DataFrame.
Enums§
Functions§
- create_
sorting_ map - infer_
schema - Infers a [
ArrowSchema] from parquet’sFileMetadata. - materialize_
empty_ df - try_
set_ sorted_ flag