Function npyz::to_file_1d [−][src]
pub fn to_file_1d<S, T, P>(filename: P, data: T) -> Result<()> where
P: AsRef<Path>,
S: AutoSerialize,
T: IntoIterator<Item = S>,
Expand description
Serialize an iterator over a struct to a NPY file.
This only saves a 1D array. To save an ND array, you must use the WriterBuilder
API.