[Python-Dev] tally (and other accumulators) (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 6 02:21:06 CEST 2006


Jess Austin wrote:

I'll go so far as to suggest that the existence of groupby() obviates the proposed tally().

Except that it requires building a list of values in each group when all you want at the end is the length of the list.

-- Greg



More information about the Python-Dev mailing list