pub fn weighted_mean_py( data: &Bound<'_, PyArray1<f64>>, weights: &Bound<'_, PyArray1<f64>>, ) -> PyResult<f64>
Compute weighted mean