I'm trying to convert a pandas dataframe to a python dictionary which only has unique values for each key.

I've tried using .to\_dict('list') but having trouble getting only unique values.

```
dictionary = dictionary.to_dict('list')

new_dict = {}

for key,value in dictionary.items():
    if value not in new_dict.items():
        new_dict[key] = value

```