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§
- Batched
Parquet Reader - File
Metadata - Metadata for a Parquet file.
- Parquet
Async Reader cloud
- A Parquet reader on top of the async object_store API. Only the batch reader is implemented since parquet files on cloud storage tend to be big and slow to access.
- 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