Skip to content

Commit e8339f7

Browse files
Merge pull request #11248 from chris-b1/convert-obj-warn
DOC: to_timedelta in convert_objects warning
2 parents 4a345e9 + 7a6bd30 commit e8339f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/generic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2595,7 +2595,7 @@ def convert_objects(self, convert_dates=True, convert_numeric=False,
25952595
"""
25962596
from warnings import warn
25972597
warn("convert_objects is deprecated. Use the data-type specific "
2598-
"converters pd.to_datetime, pd.to_timestamp and pd.to_numeric.",
2598+
"converters pd.to_datetime, pd.to_timedelta and pd.to_numeric.",
25992599
FutureWarning, stacklevel=2)
26002600

26012601
return self._constructor(

0 commit comments

Comments
 (0)