Question: I want to wrap a function that takes an one-dimensional NDArray (rust-numpy) and an usize as parameters, and returns a one-dimensional array using PyO3 to call the code from python. Unfortunately, I can’t find a good example of how ...
Question: I am attempting to relearn data-science in rust. I have a Vec<String> that includes a delimiter “|” and a new line “!end”. What I’d like to end up with is Vec<Vec<String>> that can be put into a 2D ND ...
Question: Just learning some rust. I’m using ndarray and I need to construct a zero matrix copying the dimension from another matrix. I tried But this does not compile: I can solve it with But I guess there’s something better ...