pub fn entropy_py( data: &Bound<'_, PyArray1<i64>>, base: Option<f64>, ) -> PyResult<f64>
Compute Shannon entropy of discrete data