pub fn to_ndarray<D: Dimension>(arr: &SciRS2Array) -> Result<Array<f64, D>>
Convert SciRS2Array to ndarray