题解 | #大佬用户成就值比例#
大佬用户成就值比例
https://www.nowcoder.com/practice/8c0a2d9e77fe45f7b7316226ae213115
import pandas as pd nowcoder = pd.read_csv("Nowcoder.csv", sep=",") sumres = nowcoder["Achievement_value"].sum() acheivement = nowcoder[nowcoder["Level"] == 7]["Achievement_value"] print(acheivement/sumres)