def _convert(self, datetime=False, numeric=False, timedelta=False,<EOL>coerce=False, copy=True):
return self._constructor(<EOL>self._data.convert(datetime=datetime, numeric=numeric,<EOL>timedelta=timedelta, coerce=coerce,<EOL>copy=copy)).__finalize__(self)<EOL>
Attempt to infer better dtype for object columns

Parameters
----------
datetime : boolean, default False
    If True, convert to date where possible.
numeric : boolean, default False
    If True, attempt to convert to numbers (including strings), with
    unconvertible values becoming NaN.
timedelta : boolean, default False
    If True, convert to timedelta where possible.
coerce : boolean, default False
    If True, force conversion with unconvertible values converted to
    nulls (NaN or 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