pub fn percentile(values: &[f64], percent: f64) -> f64
NumPy’s linear percentile, ignoring nonfinite values for graph axis ranges.