Replies: 1 comment
-
Closing and moving to pyo3 rust numpy specifically |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have some code across a few files, but my structure boils down to:
lib.rs
in
np_bindings.rs
in
circuit_common.rs
I have some simple python code that loads in a pandas dataframe, filters it, then converts it to a numpy array and passes it in:
but I get an error on that very last line, with
TypeError: argument 'edge_array': 'ndarray' object cannot be converted to 'PyArray<T, D>'
if you're interested in recreating this you can see oahmedlab/circuit-rs but it's a little messy now
Beta Was this translation helpful? Give feedback.
All reactions