pandas.DatetimeIndex.weekofyear

property DatetimeIndex.weekofyear

The week ordinal of the year.