pandas.DatetimeIndex.week

DatetimeIndex.week

The week ordinal of the year