Live data from Hacker News

PEP 450: Adding A Statistics Module To The Standard Library

python.org

1–10 of 85 posts

Re: PEP 450: Adding A Statistics Module To The Standard Library

#5
post #3

No mention of Pandas? http://pandas.pydata.org/

They probably left out pandas because it depends on numpy and also this point:

> For many people, installing numpy may be difficult or impossible.

that's as true, and arguably more, for pandas.

Re: PEP 450: Adding A Statistics Module To The Standard Library

#6
Nice proposal. I think the problem is numpy itself. If you could just do pip install numeric_package then nobody can complain. I don't quite understand why a package has to depend on LINPACK. I will probably switch to julia-lang, because numpy is (at least for me) not that great to work with.

Re: PEP 450: Adding A Statistics Module To The Standard Library

#8
post #4
post #3

No mention of Pandas? http://pandas.pydata.org/

I think Pandas is a great candidate for inclusion in the stdlib if this ever happens - and hopefully, numpy/parts of scipy will also be thrown in :)

I think the idea is to include a small independent stats package not a full featured still developing third party. Any number of people need std dev easily and reliably available. If you need numpy on top of that, you know you do and can afford the effort.

For 99% of my work numpy and the associated compilation overhead is unneeded - fits my brain, fits my needs

Re: PEP 450: Adding A Statistics Module To The Standard Library

#10
post #3

No mention of Pandas? http://pandas.pydata.org/

They probably left out pandas because it depends on numpy and also this point: > For many people, installing numpy may be difficult or impossible. that's as true, and arguably more, for pandas.

Although the solution, imho, is to make numpy easier to install across many platforms (ideally `pip install numpy pandas` should just work).
Post reply on HN