pandas.Index.infer_objects#

Index.infer_objects(copy=True)[source]#

If we have an object dtype, try to infer a non-object dtype.

Parameters:
copybool, default True

Whether to make a copy in cases where no inference occurs.