pandas.PeriodIndex.to_timestamp

PeriodIndex.to_timestamp(*args, **kwargs) [source]

Cast to DatetimeArray/Index.

Parameters:
freq : string or DateOffset, optional

Target frequency. The default is ‘D’ for week or longer, ‘S’ otherwise

how : {‘s’, ‘e’, ‘start’, ‘end’}
Returns:
DatetimeArray/Index

© 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.24.2/reference/api/pandas.PeriodIndex.to_timestamp.html