I have a dataframe like this:
Person Test
1 new
1 new
1 old
1 old
2 new
2 new
2 old
and I want to get rid of the rows with unequal numbers of test on the new system and the old system. In this case, person 2 is tested 2 times on new and 1 time on old, so I want to get rid of all his data (the last three rows.) How do I achieve this with a large dataset?