We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 166416f commit c478d20Copy full SHA for c478d20
pandas/core/arrays/datetimes.py
@@ -1309,7 +1309,6 @@ def weekofyear(self):
1309
Please use DatetimeIndex.isocalendar().week instead.
1310
"""
1311
import pandas as pd
1312
- import warnings
1313
1314
warnings.warn(
1315
"weekofyear and week have been deprecated, please use "
pandas/core/indexes/accessors.py
@@ -2,6 +2,7 @@
2
datetimelike delegation
3
4
from typing import TYPE_CHECKING
5
+import warnings
6
7
import numpy as np
8
@@ -260,8 +261,6 @@ def weekofyear(self):
260
261
Series.dt.weekofyear and Series.dt.week have been deprecated.
262
Please use Series.dt.isocalendar().week instead.
263
264
-
265
266
"Series.dt.weekofyear and Series.dt.week have been deprecated. "
267
"Please use Series.dt.isocalendar().week instead.",
0 commit comments