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