How do I resample a time series in pandas to a weekly frequency where the weeks start on an arbitrary day? I see that there's an optional keyword base but it only works for intervals shorter than a day.
You can pass anchored offsets to resample
, among other options they cover this case.
For example the weekly frequency from Monday:
ts.resample('W-MON')