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.3.tar.gz (52.7 kB view details)

Uploaded Source

File details

Details for the file datarray-0.0.3.tar.gz.

File metadata

  • Download URL: datarray-0.0.3.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for datarray-0.0.3.tar.gz
Algorithm Hash digest
SHA256 f8b4b4647987f4f38a2f2b9f8f3ffacca80ddadff7402b4eba49f97a10d84e3f
MD5 a027694f310e134016f47422dea4dae8
BLAKE2b-256 4832cb9c10adde42886336063cdba69b75e7630d2d95ec9f9d6ab08bd511e6ef

See more details on using hashes here.

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