array ([1, 8, 2, 0], dtype=int64)np.sort(x[index_val]) array([10, 12, 12, 16]) allclose() allclose() 用于匹配两个数组,并得到布尔值表示的输出 ...
確定! 回上一頁