[Python-ideas] Where should grouping() live (was: grouping / dict of lists)

Steven D'Aprano steve at pearwood.info
Fri Jul 6 05:10:46 EDT 2018


On Fri, Jul 06, 2018 at 09:49:37AM +0100, Cammil Taank wrote:

> I would consider statistics
> to have similarities - median, mean etc are aggregate functions. Histograms
> are also doing something similar to grouping.

I was thinking the same thing, but I don't think it is a good fit. 
Grouping records with arbitrary structure is very different from the 
numerically-focused statistics module. (Yes, a few statistics apply to 
nominal and ordinal data too, but the primary focus is on numbers.)



-- 
Steve


More information about the Python-ideas mailing list