Skip to main content

read

Function read 

Source
pub fn read(
    lf: &LazyFrame,
    sample: &Sample,
    known_total: Option<usize>,
    polars_streaming: bool,
) -> Result<AnalysisRows>
Expand description

Read the rows sample asks for from a frame already cut to its scope.

known_total saves a count. The first-rows method reports the rows it read as the total when none is known, and says so through sample_size: None, rather than pay for a count the method exists to avoid.