I currently have two Excel spreadsheet for example:
Sheet 1:
| Nid | Value |
| 1 | 15 |
| 2 | 27 |
| 3 | 80 |
| 4 | 12 |
| 5 | 16 |
| 6 | 25 |
| 7 | 2 |
Sheet 2:
| Nid |
| 1 |
| 2 |
| 3 |
| 5 |
| 7 |
Sheet 1 has Nid and Value, but sheet 2 only has Nid and two reports are not the same lenght.
I want to copy the 'Value' data from Sheet 1 to corresponding rows in sheet 2. The result should look like:
| Nid | Value |
| 1 | 15 |
| 2 | 27 |
| 3 | 80 |
| 5 | 16 |
| 7 | 2 |
I'm open to any libraries but prefer pandas or openpyxl.
Thanks in advance!