Advertisements
Advertisements
Question
Which of the following command will display the Minimum value of the Maxtemp Column?
Options
df.loc['Maxtemp'].min( )
df.loc.'Maxtemp' .min( )
df['Maxtemp'].min()
df.[:,'Maxtemp'].min( )
MCQ
Advertisements
Solution
df['Maxtemp'].min()
Explanation:
In order to get the column's minimum value, the df['Maxtemp'].min() first projects the Maxtemp column from the data frame.
shaalaa.com
Descriptive Statistics
Is there an error in this question or solution?
