题解 | #总人数超过5的等级#
总人数超过5的等级
https://www.nowcoder.com/practice/935997d55a6a422895e80880d3fdd01d
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv', sep=',') df=Nowcoder.groupby(['Level'])['Nowcoder_ID'].nunique() print(df[df>5])
总人数超过5的等级
https://www.nowcoder.com/practice/935997d55a6a422895e80880d3fdd01d
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv', sep=',') df=Nowcoder.groupby(['Level'])['Nowcoder_ID'].nunique() print(df[df>5])
相关推荐