a function that counts the number of unique numbers in a file using set() in python code example
Example: counting unique values python
df.loc[df['mID']=='A','hID'].agg(['nunique','count','size'])
df.loc[df['mID']=='A','hID'].agg(['nunique','count','size'])