class pandas.Period
参数 | 描述 |
---|
value : Period or str, default None
freq : str, default None
year : int, default None
month : int, default 1
quarter : int, default None
day : int, default 1
hour : int, default 0
minute : int, default 0
second : int, default 0
参考:
https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.Period.html?highlight=period