pandas.Period.asfreq

Period.asfreq()

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

Parameters:
freq : string

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

Start or end of the timespan

Returns:
resampled : Period
Scroll To Top