We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I looked through the code looking for the equivalent call for numpy.take. Does that function exist in the library?
Thanks,
James
The text was updated successfully, but these errors were encountered:
You can achieve the same thing using the NdArray access operators.
NdArray
The equivalent to
np.take(a, indices)
would be
a[indices]
np.take(a, indices, axis=0)
a[indices, a.cSlice()]
np.take(a, indices, axis=1)
a[a.rSlice(), indices]
I'll add take() to the next release.
take()
Sorry, something went wrong.
Added to Version 2.8.0 release.
Thank you!!!
dpilger26
No branches or pull requests
I looked through the code looking for the equivalent call for numpy.take. Does that function exist in the library?
Thanks,
James
The text was updated successfully, but these errors were encountered: