Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept numpy arrays as input #379

Merged
merged 7 commits into from
Aug 21, 2020
Merged

Accept numpy arrays as input #379

merged 7 commits into from
Aug 21, 2020

Conversation

n1t0
Copy link
Member

@n1t0 n1t0 commented Aug 21, 2020

Unfortunately rust-numpy doesn't support arrays of &str or String for now, so we have to parse these ourselves. This means that we have to copy the input.

I think we might actually be able to parse these using PySequence but I didn't try. Anyway, this is a sufficient solution to support numpy arrays for now.

@n1t0 n1t0 merged commit 7a93e9a into master Aug 21, 2020
@n1t0 n1t0 deleted the numpy-inputs branch August 21, 2020 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant