pandas.Series.dt.weekofyear

Series.dt.weekofyear

The week ordinal of the year.

Deprecated since version 1.1.0.

Series.dt.weekofyear and Series.dt.week have been deprecated. Please use Series.dt.isocalendar().week instead.