[Python-ideas] Pre-PEP: adding a statistics module to Python

Michele Lacchia michelelacchia at gmail.com
Fri Aug 2 20:42:04 CEST 2013


Wow, this is great news!
FWIW when I was first learning Python I wrote a Python module with many
statistical functions as an exercise:
https://github.com/rubik/pyst/blob/master/pyst/pyst.py

I should point out that this was no more than an exercise, thus it's
unmaintained since a long time. However it may still be useful to someone
and I thought I would mention it here. It also isn't sensible to some
gotchas, like the one regarding math.fsum Steven mentioned.
Il giorno 02/ago/2013 20:15, "Ethan Furman" <ethan at stoneleaf.us> ha scritto:

> On 08/02/2013 10:45 AM, Steven D'Aprano wrote:
>
>  It isn't just the variance and standard deviation. Even the mean is not
>>     quite as straight-forward as it might appear.  The above
>> implementation
>>     seems to simple to have problems, but it does:
>>
>
> "seems too simple"  (two o's are needed ;)
>
> Looks good!  Thanks for the work!
>
> --
> ~Ethan~
> ______________________________**_________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/**mailman/listinfo/python-ideas<http://mail.python.org/mailman/listinfo/python-ideas>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130802/27778cd1/attachment.html>


More information about the Python-ideas mailing list