pub fn histogram<F>(data: &[F], edges: &[F]) -> Result<Vec<i64>, Error>where
F: Native,Expand description
Counts in increasing bin edges. Bins include their lower edge and exclude their upper edge, except that the last bin includes both. Values outside the edges and NaNs aren’t counted.