🌈 搜索
📅  最后修改于: 2022-03-11 14:45:53.878000             🧑  作者: Mango
numbers = np.array([1, 3, 2, 4]) n = 2 indices = (-numbers).argsort()[:n]