How do I resample monthly data to yearly data but starting from 1st October.

I tried the following as I know using base works for starting at a certain hour of a day but doesnt appear to work for month of the year.

```
df = (df.resample(rule='Y',  base=10).sum().reset_index())

```