Skip to content

Commit df3ebe4

Browse files
committed
Adding depracated warning for units M and Y
1 parent 20ae454 commit df3ebe4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/tools/timedeltas.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33
"""
44

55
import numpy as np
6+
import warnings
67

78
from pandas._libs import tslibs
89
from pandas._libs.tslibs.timedeltas import (
910
convert_to_timedelta64, parse_timedelta_unit)
1011

1112
from pandas.core.dtypes.common import is_list_like
12-
from pandas.core.dtypes.generic import ABCIndexClass, ABCSeries
13+
from pandas.core.dtypes.generic import ABCSeries, ABCIndexClass
1314

1415
import pandas as pd
1516
from pandas.core.arrays.timedeltas import sequence_to_td64ns

0 commit comments

Comments
 (0)