I'm trying to looking for a solution to one problem. I've the following df:
task | open_date | close_date |
---|---|---|
t01 | 05/03/2021 | 16/03/2021 |
t02 | 07/03/2021 | 13/04/2021 |
t03 | 23/03/2021 | 04/04/2021 |
I need a new df with the backlog at the end of the month (opened that month and closed after it):
end_of_month | backlog |
---|---|
31/03/2021 | 2 |
I'm playing with last_day() to get the EOM but I'm not reaching with the query/code to getting the right count. Could you help me? Thanks in advance!!