DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
Sort array numpy
arr
=
np
.
array
(
[
2
,
1
,
5
,
3
,
7
,
4
,
6
,
8
]
)
np
.
sort
(
arr
)
Source by numpy.org #
PREVIOUS
NEXT
Tagged:
#Sort
#array
#numpy
ADD COMMENT
Topic
COMMENT
Name
6+9 =
Submit