Expand description
This crate provides functions for reading and writing N-dimensional arrays in NumPy-compatible formats:
.npy— single array binary format (npy::save,npy::load,npy::load_dynamic).npz— zip archive of.npyfiles (npz::savez,npz::savez_compressed)- Text I/O — delimited text files (
text::savetxt,text::loadtxt,text::genfromtxt) - Memory mapping — zero-copy file-backed arrays (
memmap::memmap_readonly,memmap::memmap_mut)
Re-exports§
pub use format::MemmapMode;pub use npy::NpyElement;pub use npy::load;pub use npy::load_dynamic;pub use npy::save;pub use npz::NpzFile;pub use npz::savez;pub use npz::savez_compressed;pub use text::SaveTxtOptions;pub use text::genfromtxt;pub use text::loadtxt;pub use text::savetxt;