NumPy

The fundamental N-dimensional array library for numerical computing in Python.

NumPy provides fast, typed multi-dimensional arrays with vectorised maths, broadcasting, linear algebra and random numbers. Almost every scientific and ML library in Python builds on its array model or interoperates with it. NumPy 2.x cleaned up long-standing API and type-promotion issues.

Type
Library
Category
Data
Maintainer
NumPy community (NumFOCUS-sponsored)
First released
2006
License
Open source (BSD-3-Clause)
Pricing
Open source
Level
Beginner
Technologies
python, c, scientific-computing, data-science
GitHub stars
33,647
Weekly downloads
280,353,216 (pypi)
Latest release
[object Object]
Last verified
26 Nov 2026

What NumPy is used for

  • Numerical computing
  • Array maths for ML
  • Scientific research code

Strengths

  • Foundation of the Python data stack
  • Fast vectorised operations
  • Stable and well documented

Limitations

  • CPU-only
  • Single-node, in-memory

NumPy alternatives

  • JAX AI framework

How it relates to other tools

Built with the same technologies

Learn NumPy

Official links

Sources

Explore