iterate over dataframe and get unique values from each column code example
Example: loop through dataframe column and return unique value
which_columns = ... # specify the columns whose unique values you want here
uniques = {col: df[col].unique() for col in which_columns}