General container that maps a wide range of Python values directly to memory.
The xnd module implements a container type that maps most Python values relevant for scientific computing directly to typed memory.
Whenever possible, a single, pointer-free memory block is used.
xnd supports ragged arrays, categorical types, indexing, slicing, aligned memory blocks and type inference.
Operations like indexing and slicing return zero-copy typed views on the data.
Importing PEP-3118 buffers is supported.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.