pub fn _agg_helper_slice_idx<F>(groups: &[[u32; 2]], f: F) -> Serieswhere F: Fn([u32; 2]) -> Option<u32> + Send + Sync,