PeriodIndex.
to_timestamp
Cast to DatetimeArray/Index.
Target frequency. The default is ‘D’ for week or longer, ‘S’ otherwise.
Whether to use the start or end of the time period being converted.