I have to deal with a dataset similar to this one:
Player CurrentTeam PreviousTeam
0 James Team A Null
1 David Team B Null
2 George Team C Null
3 James Team B Team A
4 James Team C Team B
... ...
In the above example, James is in fact the same player and appears 3 times in the dataset. There is no ID or such a thing.
What happens here is that James is in fact playing for Team C. Before Team C he was in Team B and even before he was in Team A (where his career started).
However, I only need to know about his real current team (i.e. Team C).
Can I get rid of all the other occurences of James' past teams?