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
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')