I have a python pandas table as follows:
class | id
_____________________
A 12311894945
A 12311760566
A 12311433981
A 12299990440
A 12291758744
B 12311894945
B 12311760566
B 12311433981
B 12299990440
B 12291758744
C 12299990440
C 12291758744
I want to get the unique id values such that belong to every class group so that the expected result is as follows:
[12299990440, 12291758744]
I was thinking maybe a groupby class and some kind of intersection but I couldn't see how those two operations are done together in Pandas.