NumPy is a fundamental package for scientific computing with Python, known for its powerful N-dimensional arrays and numerical computing tools, and is open-source, interoperable, performant, and easy to use.
NumPy, a package for scientific computing with Python, is the fundamental building block for many scientific and numerical computations. With powerful N-dimensional arrays, fast and versatile indexing and broadcasting, and comprehensive mathematical functions, random number generators, linear algebra routines, and Fourier transforms, NumPy is an essential tool for scientific computing in Python. The package is open-source, distributed under a liberal BSD license, and developed and maintained by a vibrant, responsive, and diverse community. NumPy supports a wide range of hardware and computing platforms and plays well with distributed, GPU, and sparse array libraries. The core of NumPy is well-optimized C code, allowing for the flexibility of Python with the speed of compiled code.