Possible to vectorize date arithmetic with different offset per row?
I have a simple function get_start_of_period
which takes in a date and returns the start of that period. It looks as follows:
I have a simple function get_start_of_period
which takes in a date and returns the start of that period. It looks as follows: