I have an Opta data frame of a rugby game and I would like to regroup the different informations for a same action in one row for each action. I tried to use groupby and groupby.apply('list') with no success for the moment.
This is an example of the dataframe I have :
And I am trying to obtain something like this :
Thanks in advance for your help

