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