create new dataframe with unique values from existing dataframe code example
Example 1: dataframe unique values in each column
for col in df:
print(df[col].unique())
Example 2: dataframe python unique values rows
# get the unique values (rows)
df.drop_duplicates()