Use the syntax array[::-1] to reverse array . Call numpy.ndarray.sort() with the result as numpy.ndarray to sort in descending order.
確定! 回上一頁