Skip to main content

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:

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

datarray-0.0.2.tar.gz (52.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page