Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG] np.argsort in numpy 1.12.1 for py2.7 returns incorrect ordering #10617

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

Closed
sdey42 opened this issue Feb 17, 2018 · 2 comments
Closed

[BUG] np.argsort in numpy 1.12.1 for py2.7 returns incorrect ordering #10617

sdey42 opened this issue Feb 17, 2018 · 2 comments

Comments

@sdey42
Copy link

sdey42 commented Feb 17, 2018

np.argsort([7,4,5])

array([1, 2, 0])

Expected behaviour should be array([2,0,1])

@sdey42 sdey42 closed this as completed Feb 17, 2018
@sdey42
Copy link
Author

sdey42 commented Feb 17, 2018

Crap - my understanding of this was way (x 10) off.

@eric-wieser
Copy link
Member

You're not the first - duplicate of #8757

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

No branches or pull requests

2 participants