Docs say I can pull out the week of the year from the timestamp:
pd.to_datetime('03-01-2021').week -> 9
But I need weeks since the epoch.
I have to do gaps and islands analysis, so I need to wind up with sequence increasing by 1 per week.
A stupidly naive implementation would be to do something like this
mydatetime.year * WEEKS_IN_YEAR + mydatetime.week
But besides problems I'm not accounting for, I don't believe there is an actual WEEK_IN_YEAR integer.