Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

NumPy is the fundamental package for scientific computing with the programming language Python.

From the NumPy homepage:

NumPy is the fundamental package for scientific computing with Python. It contains among other things:

  • 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.

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.

NumPy is released under the BSD license, enabling reuse with few restrictions.