题解 | #牛客网Python用户的成就值#
牛客网Python用户的成就值
https://www.nowcoder.com/practice/536abf89df3440618b3727333bc7081d
import pandas as pandas nowcoder_df=pandas.read_csv("Nowcoder.csv",sep=',',dtype=object) print(nowcoder_df[nowcoder_df['Language']=='Python'].loc[:,'Achievement_value']) # nowcoder_df['Language']=='Python' 过滤掉df中语言不是Python的行 # 剩下的行中选择Achievement_value这一列显示,打印出来默认自带列号