Skip to main content

compute_statistics_for_sample

Function compute_statistics_for_sample 

Source
pub fn compute_statistics_for_sample(
    lf: &LazyFrame,
    sample: &Sample,
    known_total: Option<usize>,
    options: ComputeOptions,
) -> Result<AnalysisResults>
Expand description

compute_statistics_with_options over the rows a crate::sampling::Sample picks from lf, which is already cut to the sample’s scope.