[ Web Proxy ]
URL:
Viewing: https://wiki.python.org/moin/../python/platforms/../../jython/../python/psf/../science/NumPy.html [Back]  [Original]

NumPy - Python Wiki
Python Wiki
psf/wiki 0 0
Copy page

NumPy

Legacy Wiki Page

This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org.

NumPy is Pythons fundamental package for scientific computing. It is a library that provides a multidimensional array object, various derived objects (such as masked arrays and matrices), and an assortment of routines for fast operations on arrays, including mathematical, logical, shape manipulation, sorting, selecting, I/O, discrete Fourier transforms, basic linear algebra, basic statistical operations, random simulation and much more.

NumPy is used at the core of many popular packages in the world of Data Science and machine learning.

Learning NumPy

NumPy examples

Many examples of NumPy usage can be found at http://wiki.scipy.org/Numpy_Example_List

  • numpy Example

from numpy import *

from PIL import Image


ar = ones((100,100),float32)

ar = ar * 100

for i in range(0,100):
    ar[i,:] = 100 + (i * 1.5)

im = Image.fromarray(ar,"F")
Back to top

Web Proxy Viewer  |  New URL  |  Original Page