[Python-Dev] tally (and other accumulators) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 6 02:21:06 CEST 2006
- Previous message: [Python-Dev] tally (and other accumulators)
- Next message: [Python-Dev] tally (and other accumulators)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] tally (and other accumulators)
- Next message: [Python-Dev] tally (and other accumulators)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]