Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikibooksThe Free Textbook Project
Search

Python Programming/numpy

From Wikibooks, open books for an open world
<Python Programming
Previous: Database ProgrammingIndexNext: Game Programming in Python


Numpy is a numeric library for python.

Installation

[edit |edit source]

It's provided with the main Linux distribution, however it can be installed through the Debian packagepython-numpy. On Windows, it can be downloaded onhttp://sourceforge.net/projects/numpy/files/.

Then, once the .zip unpacked, the installation is done by entering into the console:

python setup.py install

In case of error:

Histogram

[edit |edit source]
importnumpymydata=[numpy.random.normal(0,1)foriinrange(10000)]h,n=numpy.histogram(mydata,100,(-5,5))
This section is a stub.
You can help Wikibooks byexpanding it.

See also

[edit |edit source]
Previous: Database ProgrammingIndexNext: Game Programming in Python
Retrieved from "https://en.wikibooks.org/w/index.php?title=Python_Programming/numpy&oldid=3676733"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp