[Python-Dev] Fwd: summing a bunch of numbers (or "whatevers")

Aahz aahz@pythoncraft.com
Sun, 20 Apr 2003 10:00:22 -0400


On Sun, Apr 20, 2003, Raymond Hettinger wrote:
>
> __builtin__ is already too fat.  math is for floats.  operator is mostly
> for operators.  Perhaps make a separate module for vector-to-scalar 
> operations like min, max, product, average, moment, and dotproduct.

Call it "statistics".  Yes, I've seen the comments about using add()/sum()
for strings, but I think numeric usage will be by far the most common.
I also think that max() and min() should be removed from the builtins.
Having a good, simple statistics library standard would be a Good Thing.
-- 
Aahz (aahz@pythoncraft.com)           <*>         http://www.pythoncraft.com/

Why is this newsgroup different from all other newsgroups?