[Python-Dev] Re: Accumulation module (original) (raw)
James Kew james.kew at btinternet.com
Wed Jan 14 14:53:16 EST 2004
- Previous message: [Python-Dev] Accumulation module
- Next message: [Python-Dev] Re: Accumulation module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"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.
James
- Previous message: [Python-Dev] Accumulation module
- Next message: [Python-Dev] Re: Accumulation module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]