get each distinct value in a list column pandas code example Example: how to get distinct value in a column dataframe in python df.column.unique()