Array programming with NumPy
Charles R. Harris, K. Jarrod Millman, Stéfan J. van der Walt et al. · Nature · 2020
Abstract Array programming provides a powerful, compact and expressive syntax for accessing, manipulating and operating on data in vectors, matrices and higher-dimensional arrays. NumPy is the primary array programming library for the Python language. It has an essential role in research analysis pipelines in fields as diverse as physics, chemistry, astronomy, geoscience, biology, psychology, materials science, engineering, finance and economics. For example, in astronomy, NumPy was an important part of the software stack used in the discovery of gravitational waves 1 and in the first imaging of a black hole 2 . Here we review how a few fundamental array concepts lead to a simple and powerful programming paradigm for organizing, exploring and analysing scientific data. NumPy is the foundation upon which the scientific Python ecosystem is constructed. It is so pervasive that several projects, targeting audiences with specialized needs, have developed their own NumPy-like interfaces and array objects. Owing to its central position in the ecosystem, NumPy increasingly acts as an interoperability layer between such array computation libraries and, together with its application programming interface (API), provides a flexible framework to support the next decade of scientific and industrial analysis.
Cited by 23,207 works. doi:10.1038/s41586-020-2649-2 Open-access PDF
Authors
References
- Matplotlib: A 2D Graphics Environment
- R: A Language for Data Analysis and Graphics
- IPython: A System for Interactive Scientific Computing
- A programming language
- SciPy 1.0: fundamental algorithms for scientific computing in Python
- The NumPy Array: A Structure for Efficient Numerical Computation
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Observation of Gravitational Waves from a Binary Black Hole Merger
- Data Structures for Statistical Computing in Python
- Python for Scientific Computing