pandas.Period.asfreq

Period.asfreq()

Convert Period to desired frequency, at the start or end of the interval.

Parameters
freqstr

The desired frequency.

how{‘E’, ‘S’, ‘end’, ‘start’}, default ‘end’

Start or end of the timespan.

Returns
resampledPeriod