Well done!
You have completed Introduction to the Pandas Library for Data Analysis Quiz!
Quiz Question 1 of 5
Given the following DataFrame df
, which method call will correctly provide the statistical summary of columns Month-day
and Year
?
import pandas as pd
data = {
'Season': ['Summer', 'Summer', 'Fall', 'Winter', 'Fall', 'Winter'],
'Month': ['July', 'June', 'September', 'January', 'October', 'February'],
'Month-day': [1, 12, 3, 7, 20, 28],
'Year': [2000, 1990, 2020, 1998, 2001, 2022]
}
df = pd.DataFrame(data)
Choose the correct answer below: