pub fn to_file<S, T, P>(filename: P, data: T) -> Result<()>
👎Deprecated since 0.5.0: renamed to to_file_1d
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.