File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,7 @@ Datetime methods
342342 :toctree: api/
343343 :template: autosummary/accessor_method.rst
344344
345+ Series.dt.isocalendar
345346 Series.dt.to_period
346347 Series.dt.to_pydatetime
347348 Series.dt.tz_localize
Original file line number Diff line number Diff line change @@ -277,12 +277,13 @@ def isocalendar(self):
277277 @property
278278 def weekofyear (self ):
279279 """
280- The week ordinal of the year.
280+ The week ordinal of the year according to the ISO 8601 standard .
281281
282282 .. deprecated:: 1.1.0
283283
284- Series.dt.weekofyear and Series.dt.week have been deprecated.
285- Please use Series.dt.isocalendar().week instead.
284+ Series.dt.weekofyear and Series.dt.week have been deprecated. Please
285+ call :func:`Series.dt.isocalendar` and access the ``week`` column
286+ instead.
286287 """
287288 warnings .warn (
288289 "Series.dt.weekofyear and Series.dt.week have been deprecated. "
You can’t perform that action at this time.
0 commit comments