- API reference
- pandas arrays, scalars, and data types
- pandas.Perio...
pandas.Period.start_time#
- Period.start_time#
Get the Timestamp for the start of the period.
- Returns:
- Timestamp
See also
Period.end_time
Return the end Timestamp.
Period.dayofyear
Return the day of year.
Period.daysinmonth
Return the days in that month.
Period.dayofweek
Return the day of the week.
Examples
>>>period=pd.Period('2012-1-1',freq='D')>>>periodPeriod('2012-01-01', 'D')
>>>period.start_timeTimestamp('2012-01-01 00:00:00')
>>>period.end_timeTimestamp('2012-01-01 23:59:59.999999999')
On this page