pandas dataframe unique values per column code example Example: unique values in dataframe colume df['Column_name'].value_counts()