如果Date是一年的最后一天,则返回True。
示例
>>> ts = pd.Timestamp(2020, 3, 14) >>> ts.is_year_end False
>>> ts = pd.Timestamp(2020, 12, 31) >>> ts.is_year_end True
上一页
pandas.Timestamp.is_quarter_start
下一页
pandas.Timestamp.is_year_start