[Tutor] Stats packages in Mint 16

Steven D'Aprano steve at pearwood.info
Sun Dec 22 11:37:54 CET 2013


On Sun, Dec 22, 2013 at 01:05:27AM -0500, Keith Winston wrote:
> I want to play with some stats, but I am having trouble installing numpy on
> mint 16 Petra/Saucy. Is there some way to do it, or some alternative, or do
> I not know what I'm talking about (largely true in this case)?

I don't know much about Mint 16. It might help if you tell us what 
you've actually tried, and what error you got.

As an alternative to numpy, or possibly as well as numpy, you might like 
to try the statistics library which will appear in Python 3.4. As the 
author of that library, I would be very, very grateful for bug reports 
or other feedback.

The statistics.py library is much, much smaller than numpy. You can find 
the source code and documentation here:

http://hg.python.org/cpython/file/default/Lib/statistics.py
http://docs.python.org/3.4/library/statistics.html


and here's the PEP I wrote:

http://www.python.org/dev/peps/pep-0450/


It should run under Python 3.3, if you just copy the statistics.py file 
somewhere in your PYTHONPATH. Contact me off-list if you have trouble 
downloading the file.



-- 
Steven



More information about the Tutor mailing list