PEP 450: Adding A Statistics Module To The Standard Library
11–20 of 85 posts
Re: PEP 450: Adding A Statistics Module To The Standard Library
#12Nice 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
#13Nice 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.
Google App Engine used to suffer because of this (more specifically, it still only restricts your runtime to pure Python, but now you can import numpy at least). I believe the PyPy folks have also had their own set of struggles with numpy compatibility, although I'm not sure what the state of that is at present.
In any case, I think these compatibility concerns alone make a strong argument for including simple Statistics tooling into the standard library.
Re: PEP 450: Adding A Statistics Module To The Standard Library
#14Basically, the idea of "batteries included" should also mean that if something looks like you can put a D-cell in there, you're unlikely to blow your arm off.
Re: PEP 450: Adding A Statistics Module To The Standard Library
#15I do not regard this as a good justification for putting something in the standard library! If you don't have root access, use vitualenv (which you might want to do anyway) and install the package somewhere under your home directory.
Re: PEP 450: Adding A Statistics Module To The Standard Library
#16About damned time. Writing your own stats library is like writing your own crypto.
Re: PEP 450: Adding A Statistics Module To The Standard Library
#17> For many people, installing numpy may be difficult or impossible. For example, people in corporate environments may have to go through a difficult, time-consuming process before being permitted to install third-party software. I do not regard this as a good justification for putting something in the standard library! If you don't have root access, use vitualenv (which you might want to do anyway) and install the pa…
Re: PEP 450: Adding A Statistics Module To The Standard Library
#18Re: PEP 450: Adding A Statistics Module To The Standard Library
#19> For many people, installing numpy may be difficult or impossible. For example, people in corporate environments may have to go through a difficult, time-consuming process before being permitted to install third-party software. I do not regard this as a good justification for putting something in the standard library! If you don't have root access, use vitualenv (which you might want to do anyway) and install the pa…
Edit: Although, I do agree that NumPy being difficult to install is not, on its own, a good justification for the PEP.
Re: PEP 450: Adding A Statistics Module To The Standard Library
#20- It's very easy to find and install third party modules
- Once a library is added to stdlib, the API is essentially frozen. This means we can end up stuck with less than ideal APIs (shutil/os, urllib2/urrlib, etc) or Guido & co are stuck in a time consuming PEP/deprecate/delete loop for even minor API improvements.
- libraries outside of the stdlib are free to evolve. users of those libraries who don't want to stay on the bleeding edge are free to stay on old versions.