generate unique string and store in dataframe code example Example: unique values in dataframe colume df['Column_name'].value_counts()