write a method to fetch all data from database but return only unique values code example
Example: sql distinct
#List unique values in the df['name'] column
df.name.unique()
#List unique values in the df['name'] column
df.name.unique()