I've got a dataframe with a multi index of Year and Month like the following
Year Month Value
1992 1 3
1993 1 2
I'm trying to select the maximum Value for each year and put that in a DF like this:
There's not much info on multi-indexes, should I simply do a group by and apply or something similar to make it more simple?
If you wish to learn more about how to use python for data science, then go through this data science python course by Intellipaat for more insights.