| JOB_ID | DAY_ID |
|---|---|
| 430 | 120 |
| 430 | 720 |
| 530 | 120 |
| 530 | 620 |
| 630 | 120 |
| 630 | 120 |
| 630 | 620 |
| 630 | 620 |
Should become:
| JOB_ID | DAY_ID |
|---|---|
| 430 | 720 |
| 530 | 620 |
| 630 | 620 |
| 630 | 620 |
Where only the rows where day_id is the maximum value is kept.
I'm currently using Excel's Power Query, so Python and R scripts are not available.
