temp[::-1].sort()对数组进行排序,然后np.sort(temp)[::-1]创建一个新数组。 ... or I = x.argsort() y = np.sort(x) or y = x.sort() z # reverse sorted array ...
確定! 回上一頁