1.2. About Numpy

  • NumPy is the fundamental package for scientific computing with Python

  • a powerful N-dimensional array object

  • sophisticated (broadcasting) functions

  • tools for integrating C/C++ and Fortran code

  • useful linear algebra, Fourier transform, and random number capabilities

NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.

Besides its obvious scientific uses, NumPy can also be used as an efficient multi-dimensional container of generic data. Arbitrary data-types can be defined. This allows NumPy to seamlessly and speedily integrate with a wide variety of databases.

1.2.1. Installation


$ pip install numpy


$ pip install --upgrade numpy

Check version:

>>> import numpy as np
>>> np.__version__  

1.2.2. Further Reading