Created
June 29, 2021 09:46
-
-
Save Steboss89/e8bbf23b65e483f3b3cfc4730844df51 to your computer and use it in GitHub Desktop.
Use polars feature ndarray
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let ifile = "PATHDOFILE/2d_array.csv"; | |
let df = read_csv(&ifile).unwrap(); | |
let ndarray = df.to_ndarray::<Float64Type>().unwrap(); | |
println!("{:?}", ndarray); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment