Use PD.PeriodIndex if frequency is given