题解 | #评选优秀店铺#
评选优秀店铺
https://www.nowcoder.com/practice/8773091cfb2d4b00a03c89caa9dc5634
import numpy as np type = [("name", "S10"), ("revenue", float)] shop = np.genfromtxt("Shop.csv", delimiter=",", dtype=type) print(shop[np.where(shop['revenue']>1000000)]['name'])