Skip to main content

sample_dataframe

Function sample_dataframe 

Source
pub fn sample_dataframe(
    lf: &LazyFrame,
    sample_size: usize,
    seed: u64,
    polars_streaming: bool,
) -> Result<DataFrame>
Expand description

Samples a LazyFrame for analysis when row count exceeds threshold. Used by chunked describe.