Abstract

the published version if accessible, as it contains editor’s improvements. (c) 2011 IEEE.∗ In the Python world, NumPy arrays are the stan-dard representation for numerical data. Here, we show how these arrays enable efficient implemen-tation of numerical computations in a high-level language. Overall, three techniques are applied to improve performance: vectorizing calculations, avoiding copying data in memory, and minimizing operation counts. We first present the NumPy array structure, then show how to use it for efficient computation, and finally how to share array data with other li-braries.

Keywords

Python (programming language)ComputationCopyingComputer scienceData structureComputational scienceParallel computingArray data structureAlgorithmProgramming language

Affiliated Institutions

Related Publications

Publication Info

Year
2011
Type
article
Volume
13
Issue
2
Pages
22-30
Citations
10556
Access
Closed

Social Impact

Social media, news, blog, policy document mentions

Citation Metrics

10556
OpenAlex
470
Influential
8662
CrossRef

Cite This

Stéfan van der Walt, Steven C. Colbert, Gaël Varoquaux (2011). The NumPy Array: A Structure for Efficient Numerical Computation. Computing in Science & Engineering , 13 (2) , 22-30. https://doi.org/10.1109/mcse.2011.37

Identifiers

DOI
10.1109/mcse.2011.37
arXiv
1102.1523

Data Quality

Data completeness: 84%