Crate ndarray_npz
source ·Expand description
Advanced .npz
file format support for ndarray
.
Accessing .npy
Files
- See
ndarray_npy
.
Accessing .npz
Files
- Reading:
NpzReader
- Writing:
NpzWriter
- Immutable viewing (primarily for use with memory-mapped files):
- Mutable viewing (primarily for use with memory-mapped files):
NpzViewMut
providing anNpyViewMut
for each uncompressed.npy
file within the archive
Features
Both features are enabled by default.
compressed
: Enables zip archives with deflate compression.num-complex-0_4
: Enables complex element types of cratenum-complex
.
Re-exports
pub use ndarray;
pub use ndarray_npy;
Structs
- Immutable view of memory-mapped
.npy
files within an.npz
file. - Mutable view of memory-mapped
.npy
files within an.npz
file. - Reader for
.npz
files. - Immutable view for memory-mapped
.npz
files. - Mutable view for memory-mapped
.npz
files. - Writer for
.npz
files.
Enums
- Checksum status of an
NpyView
orNpyViewMut
. - An error reading a
.npz
file. - An error viewing a
.npz
file. - An error writing a
.npz
file.