I have a column containing lists with multiple elements: such as [Japan, Japan, nan, nan, USA, USA,]
I want to remove duplicates and 'nan' value obtaining a list as below:
[Japan, USA]
The list is made from another dataframe with combining elements in different columns.