import pandas as pd Nowcoder=pd.read_csv('Nowcoder.csv') Nowcoder1=Nowcoder.query("Language=='Python'") avg=Nowcoder1['Number_of_submissions'].sum()/Nowcoder1['Number_of_submissions'].count() print(round(avg,1))