2018-10-31 【Python】Numpyの配列を並び替える方法 Python import numpy as np #昇順の場合 np.sort(x) #降順の場合 np.sort(x)[::-1] 【参考】 [Python]Numpyデータの並べ替え - Qiita