how to get distinct values of a column in pandas and append dataframe code example Example: unique values in dataframe colume df['Column_name'].value_counts()