selecting unique ids in a column with pandas and sotore in a dataframe code example Example: how to get distinct value in a column dataframe in python df.column.unique()