I am trying to find the player_id of the group by function below. I want to find the player_id who has maximum of sum.
df.groupby('player_id')['salary'].sum().max()
I am trying to find the player_id of the group by function below. I want to find the player_id who has maximum of sum.
df.groupby('player_id')['salary'].sum().max()