Skip to content

Commit 8ff0da0

Browse files
committed
Added See also section to convert_objects docs.
1 parent a10997d commit 8ff0da0

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

pandas/core/generic.py

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2724,8 +2724,7 @@ 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.
2727+
Deprecated.
27292728
27302729
Attempt to infer better dtype for object columns
27312730
@@ -2745,6 +2744,18 @@ def convert_objects(self, convert_dates=True, convert_numeric=False,
27452744
conversion was done). Note: This is meant for internal use, and
27462745
should not be confused with inplace.
27472746
2747+
See also
2748+
--------
2749+
pandas.to_datetime
2750+
Convert argument to datetime.
2751+
2752+
pandas.to_timedelta
2753+
Convert argument to timedelta.
2754+
2755+
pandas.to_numeric
2756+
Return a fixed frequency timedelta index,
2757+
with day as the default.
2758+
27482759
Returns
27492760
-------
27502761
converted : same as input object

0 commit comments

Comments
 (0)