pub fn write_numpy<T, P: AsRef<Path>>(
path: P,
data: Vec<T>,
shape: Vec<u64>,
) -> Result<(), PineappleError>where
T: Serialize + AutoSerialize,Expand description
Write a numpy file from a vector of specified shape
ยงArguments
path- Path to output numpy filedata- Vector of numeric typeshape- Shape of the vector (shape product must equal length of data)