« first day (2828 days earlier)      last day (403 days later) » 

10:47 AM
Found this an interesting problem about vectorization, I don't think it is doable, but maybe someone has an idea? stackoverflow.com/q/75873522/2913106
Maybe some sliding windowing thing?
 
11:28 AM
@flawr I agree with your last comment, based on smell. Can't look at in detail now.
 
 
7 hours later…
6:46 PM
@flawr You’re right, it cannot be vectorized. But it’s a trivial operation, it’s only slow because of Python. Numba is the solution for these things.
 

« first day (2828 days earlier)      last day (403 days later) »