[Python-ideas] Pre-PEP 2nd draft: adding a statistics module to Python
Ryan
rymg19 at gmail.com
Thu Aug 8 16:51:15 CEST 2013
Looks great to me! Just remember to put a big warning in the docs about the list/iterator problem.
Steven D'Aprano <steve at pearwood.info> wrote:
>Attached is the second draft of the pre-PEP for adding a statistics
>module to Python. A brief summary of the most important changes:
>
>- it's a top-level module called "statistics", not "math.stats";
>
>- statistics.sum stays (although that's subject to revision, if
>builtin.sum or math.fsum are "fixed" before 3.4 feature-freeze);
>
>- one-pass algorithm for variance is deferred until Python 3.5, until
>then, lists are the preferred data structure (iterators will continue
>to work, provided they are small enough to be converted to lists).
>
>Last chance to object or suggest changes before I submit this to
>Python-Dev.
>
>Thanks again to everyone who provided feedback.
>
>
>
>--
>Steven
>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Python-ideas mailing list
>Python-ideas at python.org
>http://mail.python.org/mailman/listinfo/python-ideas
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130808/870d454c/attachment.html>
More information about the Python-ideas
mailing list