[Python-Dev] Re: Accumulation module

James Kew james.kew at btinternet.com
Wed Jan 14 14:53:16 EST 2004

"Raymond Hettinger" <raymond.hettinger at verizon.net> wrote in message
news:00cf01c3da0e$b3a2e3e0$6e02a044 at oemcomputer...
> I'm working a module with some accumulation/reduction/statistical
> formulas:
> average(iterable)

"Average" is a notoriously vague word. Prefer "mean" -- which opens the door
for "median" and "mode" to join the party.

I could have used a stats module a few months ago -- feels like a bit of an
omission from the standard library, especially compared against the richness
of the random module.


More information about the Python-Dev mailing list