Array programming with NumPy


Change log
Authors
Harris, Charles R. 
van der Walt, Stéfan J.  ORCID logo  https://orcid.org/0000-0001-9276-1891
Virtanen, Pauli 
Abstract

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 waves1 and in the first imaging of a black hole2. 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.

Description
Keywords
Review Article, /631/378/116, /704/525/870, /639/705/1042, /639/705/117, /639/705/794, /139, review-article
Journal Title
Nature
Conference Name
Journal ISSN
0028-0836
1476-4687
Volume Title
585
Publisher
Nature Publishing Group UK