I have a dataframe with column values such as below:
df:
I would like to combine all the values from column b into one list and remove duplicates.
Desired Output:
[Red, Blue, Green, Purple, Yellow]
So far I have tried using df['b].drop_duplicates().to_list() but am getting a list of lists as the output.
