list of unique values in een afdeling pandas dataframe code example
Example 1: unique values in dataframe colume
df['Column_name'].value_counts()
Example 2: dataframe python unique values rows
# get the unique values (rows)
df.drop_duplicates()
df['Column_name'].value_counts()
# get the unique values (rows)
df.drop_duplicates()