I have a following problem. My dataset contains information about tennis players and number of games they played each season during their active career.
Name Season Games
Nadal 2015 84
Novak 2017 14
Nadal 2016 88
Federer 2018 75
Nadal 2010 45
.
.
.
I would like to create a new dataset that includes only players that were playing for five and more years.
I suppose, I have to somehow sum up players together and then filter them. How can I do it, please?