python unique values in column to list code example
Example 1: how to get distinct value in a column dataframe in python
df.column.unique()
Example 2: unique values in dataframe colume
df['Column_name'].value_counts()
df.column.unique()
df['Column_name'].value_counts()