pandas.PeriodIndex.start_time#
- property PeriodIndex.start_time[source]#
Get the Timestamp for the start of the period.
Returns a DatetimeIndex with the exact start Timestamp of each period in the index.
- Returns:
- DatetimeIndex
See also
PeriodIndex.end_timeReturn the end Timestamp.
PeriodIndex.to_timestampCast to DatetimeIndex.
Period.start_timeReturn the start Timestamp for a single Period.
Examples
>>> idx = pd.PeriodIndex(["2023-01", "2023-02"], freq="M") >>> idx.start_time DatetimeIndex(['2023-01-01', '2023-02-01'], dtype='datetime64[us]', freq=None)