pandas.Timestamp.week# Timestamp.week# 返回一年中的周数。 Returns: int Examples >>> ts = pd.Timestamp(2020, 3, 14) >>> ts.week 11