English

Which command is not correct to display the mode of all columns?

Advertisements
Advertisements

Question

Which command is not correct to display the mode of all columns?  

Options

  • df.mode(0)

  • df.mode(axis=0)

  • df.mode()

  • df. mode( axis='cols') 

MCQ
Advertisements

Solution

df. mode( axis='cols') 

Explanation:

The mode of each column will be printed using the df.mode(axis='cols') command.

shaalaa.com
Descriptive Statistics
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×