From 7a6bd302652b5d96a674cf6278fbd5f6ce1f960d Mon Sep 17 00:00:00 2001 From: Chris Date: Mon, 5 Oct 2015 18:23:22 -0500 Subject: [PATCH] DOC: to_timedelta in convert_objects warning --- pandas/core/generic.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 3473dd0f7cd88..2def8180a43e4 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -2595,7 +2595,7 @@ def convert_objects(self, convert_dates=True, convert_numeric=False, """ from warnings import warn warn("convert_objects is deprecated. Use the data-type specific " - "converters pd.to_datetime, pd.to_timestamp and pd.to_numeric.", + "converters pd.to_datetime, pd.to_timedelta and pd.to_numeric.", FutureWarning, stacklevel=2) return self._constructor(