I would like to group a dataframe by Type and Country and remove those prefixes that are more specific.
E.g. based on the following inpu