import pandas as pd t=pd.read_csv('Nowcoder.csv',encoding='utf-8') index=t['Language']=='Python' print(t.loc[index,'Achievement_value']) # if t['Language']=='Python': # print(t['Achievement_value'])
t.loc()