A sample of my data is below:

I would like to concatenate all location numbers that have the same acronym. So the output I am looking for would be the following:
| NOS | 0654; 1661 |
| NOSM | 0654 |
| NOSW | 0654 |
| PAA | 0636; 0654; 0781 |
What is the best way to do this?
Thank you.