I am a bit stuck with my use of .resample() method. I am working with a DateFrame where indexes are TimeDate objects in YYYY-MM-DD format, and I have a row of columns corresponding to property costs in a few cities, like shown below:

```
State       California  Illinois    Pennsylvania    Arizona
RegionName  Los Angeles Chicago     Philadelphia    Phoenix
1/1/2000    204400      136800      52700           111000
2/1/2000    207000      138300      53100           111700
3/1/2000    209800      140100      53200           112800
4/1/2000    212300      141900      53400           113700
5/1/2000    214500      143700      53700           114300
6/1/2000    216600      145300      53800           115100
7/1/2000    219000      146700      53800           115600
8/1/2000    221100      147900      54100           115900
9/1/2000    222800      149000      54500           116500

```

When I apply .resample() method to it to transform display into a quarterly view, I get data arrangement as follows:

```
hd = hd.resample('Q').mean()

State       New York    California  Illinois    Pennsylvania    Arizona
RegionName  New York    Los Angeles Chicago     Philadelphia    Phoenix
3/31/2000   NaN         207066.6667 138400      53000           111833.3333
6/30/2000   NaN         214466.6667 143633.3333 53633.33333     114366.6667
9/30/2000   NaN         220966.6667 147866.6667 54133.33333     116000

```

However, I need the labels on the newly created indexes to be displayed in a format resembling '2000q1' style, not the last (or first) day of the quarter.
I have been all over the .resample() method's page in pandas documentation, but for the life of me I cannot figure out how to apply a custom label like that.
Can anyone help me please?

Kind regards,
Greem