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