3 ms·
The whole statistics module seems very minimal to me, I was hoping for it to include distributions and random number generators etc. but it only includes a few
by unfamiliar 13y ago
The whole statistics module seems very minimal to me, I was hoping for it to include distributions and random number generators etc. but it only includes a few very basic functions, and not even the best implementation of them. Hopefully it will expand in future releases, but I don't really see the point of including it with such limited functionality.
- maxerickson 13y agoI think it intentionally started with things that people would tend to implement slightly incorrectly (rather than reaching for a 3rd party library).
- e12e 13y agoIndeed, AFAIK this is the relevant pep: http://legacy.python.org/dev/peps/pep-0450/ http://legacy.python.org/dev/peps/pep-0450/ Note especially the pitfalls highlighted around naive diy solutions (not sure if this is actually taken care of in the module, but I hope so! :-).
- dagw 13y agoPeople who need distributions and more advanced features probably want numpy anyway, which already has all of that. This just covers the very basics that people might run into while doing 'normal' non-statistical programming.