I am trying to groupby a pandas df so that it keeps the key as index but it doesn\'t include the key in each group.
Here is an example of what I mean.