rint the unique class labels (hint: use the unique method of pandas Series) code example
Example: pandas unique values to list
df.groupby('param')['column'].nunique().sort_values(ascending=False).unique().tolist()
df.groupby('param')['column'].nunique().sort_values(ascending=False).unique().tolist()