Function npy::to_file
[−]
[src]
pub fn to_file<'a, S, T, P>(filename: P, data: T) -> Result<()> where
P: AsRef<Path>,
S: NpyData + 'a,
T: IntoIterator<Item = &'a S>,
Serialize an iterator over a struct to a NPY file
A single-statement alternative to saving row by row using the OutFile
.