I Have a dataframe with a list of words and I was to keep the words unique words if mentioned multiple times or keep all word if only mentioned once.
My dataframe looks like this:
cars
[honda, toyota]
[honda, none, honda, toyota, toyota]
[lexus, mazda]
[honda, mazda, lexus, mazda, honda]
I want my out to be:
cars
honda, toyota
honda, none, toyota
lexus, mazda
honda, mazda, lexus
Thank you in advance!