polars::prelude

Function materialize_empty_df

Source
pub fn materialize_empty_df(
    projection: Option<&[usize]>,
    reader_schema: &Schema<Field>,
    hive_partition_columns: Option<&[Series]>,
    row_index: Option<&RowIndex>,
) -> DataFrame
Available on crate feature polars-io only.