题解 | #评选优秀店铺#

评选优秀店铺

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'])

全部评论

相关推荐

牛客10001:G了+1,被前端/客户端给捞起来了,不太想面
投递美团等公司6个岗位 美团求职进展汇总
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务