DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to sort values in numpy by one column
sorted_array = an_array[numpy.argsort(an_array[:, 1])]
Source by www.kite.com #
PREVIOUS
NEXT
Tagged:
#sort
#values
#numpy
#column
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit