« first day  last day (15 days later) » 

Tom
2:03 AM
Hey @MrNobody33, so I found out that I actually cannot remove my answer b/c it is accepted.
I did however find out an answer not using apply (the list comp alluded to in my original answer), which I used to rewrite to create a new answer. So if OP does see all this they can still decide which they want to accept!
 
2:16 AM
Hey @Tom, yeah, I just see your edited answer, at first glance it looks too easy, how we couldn't think of it before haha.
Now, I think that your corrected answer should be the accepted one, because it´s faster and pythonic.
 
 
1 hour later…
Tom
3:35 AM
Honestly I found it quite hard to write out; I had to write the explicit for loop and then convert it. I think apply made it easier to think of the function to use for each row. But yea I suppose now that it is written, it's not so bad
 
4:09 AM
Haha yeah, I meant that now you have written, at first glance it looks too easy. But congrats again, it works very well and looks more pythonic 👍. All that's left is to wait for the OP.
 

« first day  last day (15 days later) »