pandas.Series.dt.weekofyear

Series.dt.weekofyear

The week ordinal of the year according to the ISO 8601 standard.

Deprecated since version 1.1.0.

Series.dt.weekofyear and Series.dt.week have been deprecated. Please call Series.dt.isocalendar() and access the week column instead.