W3cubDocs

/pandas 0.25

pandas.Period.to_timestamp

Period.to_timestamp()

Return the Timestamp representation of the Period at the target frequency at the specified end (how) of the Period

Parameters:
freq : string or DateOffset

Target frequency. Default is ‘D’ if self.freq is week or longer and ‘S’ otherwise

how : str, default ‘S’ (start)

‘S’, ‘E’. Can be aliased as case insensitive ‘Start’, ‘Finish’, ‘Begin’, ‘End’

Returns:
Timestamp

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