File:The NumPy array data structure and its associated metadata fields.webp
Summary
Description |
English: This drawing taken from the open access Nature Paper "Array programming with NumPy" describes the NumPy array data structure.
The "NumPy" python package provides an multidimensional array (also "ndarray" or "tensor") data structure. It is implemented via an object that holds a pointer to the sequential data in memory and together with associated metadata to interpret that data as an array: The number of indeces ("axes") and the number of dimensions along each axis are given by the shape, the stride describes the number of bytes to jump in memory when an index along a given axis is incremented and the data type describes the homogeneous type of all elements.
Deutsch: Diese Abbildung aus der Nature-Veröffentlichung „Array programming with NumPy“ beschreibt den Aufbau der Array-Datenstruktur, die das „NumPy“-Python-Paket zur Verfügung stellt. Sie besteht aus einem Zeiger auf einen Speichbereich zusammen mit Metadaten für Datentyp (data type), Form (shape), also Dimensionen entlang der Achsen, und die Schrittlängen im Speicher für Sprünge entlang bestimmten Achsen (z. B. zwischen zwei Zeilen, zwischen zwei Spalten …) |
Date | |
Source | “Array programming with NumPy”, in Category:Nature (journal)#Nature (in en), volume 585, issue 7825, 16 September 2020, DOI: , ISSN 1476-4687, PMID 32939066, Wikidata Q99413970, pages 357-362 |
Author |
Charles R. Harris, K. Jarrod Millman, Stéfan J. van der Walt, Ralf Gommers, Pauli Virtanen, David Cournapeau, Eric Wieser, Julian Taylor, Sebastian Berg, Nathaniel J. Smith, Robert Kern, Matti Picus, Stephan Hoyer, Marten H. van Kerkwijk, Matthew Brett, Allan Haldane, Jaime Fernández del Río, Mark Wiebe, Pearu Peterson, Pierre Gérard-Marchant, Kevin Sheppard, Tyler Reddy, Warren Weckesser, Hameer Abbasi, Christoph Gohlke, Travis E. Oliphant |
Licensing
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.