get unique values from a column pandas code example
Example 1: how to get distinct value in a column dataframe in python
df.column.unique()
Example 2: pandas unique values to list
df.groupby('param')['column'].nunique().sort_values(ascending=False).unique().tolist()