'Descriptive statistics of the groups.'

def _group_stats(self, groups):

    gsizes = np_new_unique(groups, return_counts=True)
    gsizes = gsizes[1]
    return (gsizes.min(), gsizes.max(), gsizes.mean(), len(gsizes))
