I have a data frame of employees and job dates for a month. I need to index each job for every given day like so.
| employee | job_time | nth_job |
|---|---|---|
| Harry | 1/11/21 9:00 | 1 |
| Harry | 1/11/21 9:30 | 2 |
| Harry | 1/11/21 10:00 | 3 |
| Harry | 2/11/21 9:00 | 1 |
| Harry | 2/11/21 9:30 | 2 |
| Ben | 1/11/21 9:00 | 1 |
| Ben | 1/11/21 9:30 | 2 |
| Ben | 1/11/21 10:00 | 3 |
| Ben | 2/11/21 9:00 | 1 |
| Ben | 2/11/21 9:30 | 2 |
Thank you.