I have a DataFrame with the following info
countries flags
FR aabb
DE abc
UK bbcc
IT ddd
I want to transform the flags column into a new column that contains only the non-duplicated charts of the flags column. The result should be
countries flags
FR ab
DE abc
UK bc
IT d