Q1:
2025: 27 May Shift 2
Informatics Practices
Pandas Data Analysis
Medium
Informatics Practices
Which of the following are the valid ways to calculate the average marks in 'Maths'?
(A) df['Maths'].mean()
(B) df.loc[:,'Maths'].mean()
(C) df.query('Maths').mean()
(D) df['Maths'].aggregate('mean')