unique columns in dataframe code example Example: unique values in dataframe column #List unique values in the df['name'] column df.name.unique()