I'm not even sure this is possible but it most certainly is worth asking. This would be a rather simple task in Excel however I'm finding it extremely difficult in Pandas.
I have DF1:
| Date | Location ID |
| -------- | -------------- |
| DD-MM-YYY | 1 |
| DD-MM-YYY | 2 | (120k Rows Total)
I have DF2:
|Date | Location ID | Location |
|:---- |:------:| -----:|
| DD-MM-YYY | 1 | India | (4 Rows Total) - 4 different locations
I want to merge the DFs together on ['Location ID'] and then auto-fill DF1 Location row with all the correct worded locations. So add the column Location to all the 120k rows based upon the Location ID.
Basically New DF1: |Date | Location ID | Location |
|:---- |:------:| -----:|
| DD-MM-YYY | 1 | India | (120K times)
Thanks in advance. If this is possible that would be great.