DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
numpy sort array by another array
order = arr1.argsort() sorted_arr1 = arr1[order] sorted_arr2 = arr2[order]
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#numpy
#sort
#array
#array
ADD COMMENT
Topic
COMMENT
Name
6+7 =
Submit