I have my dataset which involves userID and gamecodes. There are 23 users and various game codes, I used:
df.groupby(\'Game Code\')[\'User ID\'].nunique().sort_