On this page
pandas.Series.dt.week
- Series.dt.week[source]
-
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 theweek
column instead.
© 2008–2022, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.5.0/reference/api/pandas.Series.dt.week.html