Advertisements
Advertisements
Question
Calculate the mode of marks scored in Maths.
Code Writing
Advertisements
Solution
print("Mode of marks scored in Maths:")
print(df['Maths'].mode())
Output:
| 0 | 21 |
| dtype | int64 |
shaalaa.com
Is there an error in this question or solution?
