Skip to content

Commit a10997d

Browse files
committed
DOC: Added deprecation to convert_objects docstring#12052
1 parent 19bafbe commit a10997d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/core/generic.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2724,6 +2724,9 @@ def _convert(self, datetime=False, numeric=False, timedelta=False,
27242724
def convert_objects(self, convert_dates=True, convert_numeric=False,
27252725
convert_timedeltas=True, copy=True):
27262726
"""
2727+
Deprecated. Use the data-type specific converters pd.to_datetime,
2728+
pd.to_timedelta, and pd.to_numeric.
2729+
27272730
Attempt to infer better dtype for object columns
27282731
27292732
Parameters

0 commit comments

Comments
 (0)