class pandas.Period Represents a period of time
| Parameters: |
value : Period or compat.string_types, default None The time period represented (e.g., ‘4Q2005’) freq : str, default None One of pandas period strings or corresponding objects
|
|---|
day | Get day of the month that a Period falls on. |
dayofweek | Return the day of the week. |
dayofyear | Return the day of the year. |
days_in_month | Get the total number of days in the month that this period falls on. |
daysinmonth | Get the total number of days of the month that the Period falls in. |
hour | Get the hour of the day component of the Period. |
minute | Get minute of the hour component of the Period. |
second | Get the second component of the Period. |
start_time | Get the Timestamp for the start of the period. |
week | Get the week of the year on the given Period. |
| end_time | |
| freq | |
| freqstr | |
| is_leap_year | |
| month | |
| ordinal | |
| quarter | |
| qyear | |
| weekday | |
| weekofyear | |
| year |
asfreq | Convert Period to desired frequency, either at the start or end of the interval |
strftime | Returns the string representation of the Period, depending on the selected fmt. |
to_timestamp | Return the Timestamp representation of the Period at the target frequency at the specified end (how) of the Period |
| now |
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
http://pandas.pydata.org/pandas-docs/version/0.23.4/generated/pandas.Period.html