def convert_objects(self, convert_dates=True, convert_numeric=False,<EOL>convert_timedeltas=True, copy=True):
msg = ("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>).format(klass=self.__class__.__name__)<EOL>warnings.warn(msg, FutureWarning, stacklevel=<NUM_LIT:2>)<EOL>return self._constructor(<EOL>self._data.convert(convert_dates=convert_dates,<EOL>convert_numeric=convert_numeric,<EOL>convert_timedeltas=convert_timedeltas,<EOL>copy=copy)).__finalize__(self)<EOL>
Attempt to infer better dtype for object columns.

.. deprecated:: 0.21.0

Parameters
----------
convert_dates : boolean, default True
    If True, convert to date where possible. If 'coerce', force
    conversion, with unconvertible values becoming NaT.
convert_numeric : boolean, default False
    If True, attempt to coerce to numbers (including strings), with
    unconvertible values becoming NaN.
convert_timedeltas : boolean, default True
    If True, convert to timedelta where possible. If 'coerce', force
    conversion, with unconvertible values becoming NaT.
copy : boolean, default True
    If True, return a copy even if no copy is necessary (e.g. no
    conversion was done). Note: This is meant for internal use, and
    should not be confused with inplace.

Returns
-------
converted : same as input object

See Also
--------
to_datetime : Convert argument to datetime.
to_timedelta : Convert argument to timedelta.
to_numeric : Convert argument to numeric type.