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

© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Period.asfreq.html