get unique keys from pandas dataframe code example
Example 1: get list of unique values in pandas column
a = df['column name'].unique() #returns a list of unique values
Example 2: dataframe python unique values rows
# get the unique values (rows)
df.drop_duplicates()