🌈 搜索
📅  最后修改于: 2022-03-11 14:45:22.717000             🧑  作者: Mango
# For a 2D array indices = np.argpartition(arr, -N, axis=1)[:, -N:]