I have a list unique string as below:
unique_region=['REGION-A', 'REGION-B','REGION-C','REGION-AB', 'REG-A','REG-B','REG-C', 'REG-AB','R-A','AB']
I would like to process the list and return a harmonized list with python as below:
harmonized_region=['REG-A', 'REG-B', 'REG-C', 'REG-AB', 'REG-A', 'REG-B','REG-C','REG-AB','REG-A','REG-AB']
I tried creating dictionary manually to match the unique data to the harmonized data, is there any better way to do this?