net_pivot = df.pivot_table(values = 'Mean Temp (C)', columns ='season', index = 'Year', aggfunc = 'mean') net_pivot.head() code example
Example: net_pivot = df.pivot_table(values = 'Mean Temp (C)', columns ='season', index = 'Year', aggfunc = 'mean') net_pivot.head()
net_pivot = df.pivot_table(values = 'Mean Temp (C)', columns ='season', index = 'Year', aggfunc = 'mean')
net_pivot.head()