I have a data frame that I used the .groupby() along with .agg() function on.
movieProperties = combined_df.groupby(['movieId', 'title', 'genres']).agg({'rating': ['count', 'mean']})
This is the code to create the new data frame. However I can't seem to access columns the same way anymore. If I try movieProperties['genres'] I always get a KeyError. How can I access columns again in this new data frame?