Convert Period to desired frequency, at the start or end of the interval.
The desired frequency.
Start or end of the timespan.
previous
pandas.Period.weekday
next
pandas.Period.strftime