NumPy documentation#

Version: 2.3

Download documentation:Historical versions of documentation

Useful links:Installation |Source Repository |Issue Tracker |Q&A Support |Mailing List

NumPy is the fundamental package for scientific computing in Python. It is aPython library that provides a multidimensional array object, various derivedobjects (such as masked arrays and matrices), and an assortment of routines forfast 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.

Getting started

New to NumPy? Check out the Absolute Beginner’s Guide. It contains anintroduction to NumPy’s main concepts and links to additional tutorials.

User guide

The user guide provides in-depth information on thekey concepts of NumPy with useful background information and explanation.

API reference

The reference guide contains a detailed description of the functions,modules, and objects included in NumPy. The reference describes how themethods work and which parameters can be used. It assumes that you have anunderstanding of the key concepts.

Contributor’s guide

Want to add to the codebase? Can help add translation or a flowchart to thedocumentation? The contributing guidelines will guide you through theprocess of improving NumPy.