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