Skip to main content

prepare_kde_by

Function prepare_kde_by 

Source
pub fn prepare_kde_by(
    lf: &LazyFrame,
    column: &str,
    bandwidth_factor: f64,
    range: ValueRange,
    color: ColorSplit<'_>,
    sampling: &ChartSampling,
) -> Result<KdeData>
Expand description

Prepare one density curve of column per group of color. The range is the whole column’s, so every curve is clipped alike.