File tree 2 files changed +5
-3
lines changed
2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,7 @@ Datetime methods
342
342
:toctree: api/
343
343
:template: autosummary/accessor_method.rst
344
344
345
+ Series.dt.isocalendar
345
346
Series.dt.to_period
346
347
Series.dt.to_pydatetime
347
348
Series.dt.tz_localize
Original file line number Diff line number Diff line change @@ -277,12 +277,13 @@ def isocalendar(self):
277
277
@property
278
278
def weekofyear (self ):
279
279
"""
280
- The week ordinal of the year.
280
+ The week ordinal of the year according to the ISO 8601 standard .
281
281
282
282
.. deprecated:: 1.1.0
283
283
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.
286
287
"""
287
288
warnings .warn (
288
289
"Series.dt.weekofyear and Series.dt.week have been deprecated. "
You can’t perform that action at this time.
0 commit comments