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