NumPy arrays with named axes and named indices.
Project description
Datarray provides a subclass of Numpy ndarrays that support:
individual dimensions (axes) being labeled with meaningful descriptions
labeled ‘ticks’ along each axis
indexing and slicing by named axis
indexing on any axis with the tick labels instead of only integers
reduction operations (like .sum, .mean, etc) support named axis arguments instead of only integer indices.
Code
You can find our sources and single-click downloads:
Main repository on Github.
Download as a tar/zip file the current trunk.
Downloads of all available releases.
Note
this code is currently experimental! It is meant to be a place for the community to understand and develop the right semantics and have a prototype implementation that will ultimately (hopefully) be folded back into Numpy itself.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file datarray-0.0.2.tar.gz
.
File metadata
- Download URL: datarray-0.0.2.tar.gz
- Upload date:
- Size: 52.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0bbbdea7120c8ce85fc7d5b713fbd32779bb24e2fa5133defa851d3d0b18005 |
|
MD5 | ec11d24d2412e0e1f3fb33088fa52600 |
|
BLAKE2b-256 | f4a2b072089e8ef32d9834f1c1c48331f3809a86f9e87090f2933f7fc5acc5d1 |