pandas.DatetimeIndex.week

property DatetimeIndex.week

The week ordinal of the year.