dataframe unique rows woth respect to specific columns code example
Example 1: how to get distinct value in a column dataframe in python
df.column.unique()
Example 2: how to count unique values in a column dataframe in python
dataframe.column.nunique()