Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.PeriodIndex.to_timestamp

PeriodIndex.to_timestamp(freq=None, how='start')[source]

Cast to DatetimeIndex

Parameters:

freq : string or DateOffset, optional

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

how : {‘s’, ‘e’, ‘start’, ‘end’}
Returns:
DatetimeIndex
Scroll To Top