Array programming with NumPy

By Charles R. Harris, K. Jarrod Millman, S. Van Der Walt, R. Gommers, Pauli Virtanen, D. Cournapeau, Eric Wieser, Julian Taylor, Sebastian Berg, Nathaniel J. Smith and 17 more. 2020

21,287 citations recorded by the source corpus.

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. NumPy is the primary array programming library for Python; here its fundamental concepts are reviewed and its evolution into a flexible interoperability layer between increasingly specialized computational libraries is discussed.

Subfields: Artificial Intelligence, Information Systems and Management, Materials Chemistry, Numerical Methods & Scientific Computing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Quoc V. Le
  3. Percy Liang
  4. Luke S. Zettlemoyer
  5. Jianfeng Gao
  6. Yoshua Bengio
  7. Graham Neubig
  8. Kyunghyun Cho

In Information Systems and Management

  1. Shuhao Cao
  2. Quoc V. Le
  3. Brian Lester
  4. Xuanyi Dong
  5. Frank Hutter
  6. Ali Farhadi
  7. Matt Deitke
  8. Eli VanderBilt

In Materials Chemistry

  1. Frank Hutter
  2. Marius Thomas Lindauer
  3. Stefan Falkner
  4. Matthias Feurer
  5. Xuanyi Dong
  6. Katharina Eggensperger
  7. Michael Heinzinger
  8. Jure Leskovec

In Numerical Methods & Scientific Computing

  1. S. Nissanke
  2. Sebastian M. Gaebel
  3. Simon Stevenson
  4. Daniel Foreman-Mackey
  5. James Lee-Thorp
  6. Ali Farhadi
  7. Frank Hutter
  8. Jamie Callan

Citations in the corpus