English

Calculate the mode of marks scored in Maths.

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?
Chapter 3: Data Handling using Pandas - II - Intext Questions [Page 71]

APPEARS IN

NCERT Informatics Practices [English] Class 12
Chapter 3 Data Handling using Pandas - II
Intext Questions | Q 5. | Page 71
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×