code: def test_astype_float64_mixed_to_object(self):
      # mixed int-float
      idx = Index([1.5, 2, 3, 4, 5], dtype=np.float64)
      idx.name = "foo"
      result = idx.astype(object)
      assert result.equals(idx)
      assert idx.equals(result)
      assert isinstance(result, Index) and result.dtype == object
  
file_path: pandas/pandas/tests/indexes/numeric/test_astype.py
imports: import numpy
  import pytest
  from pandas import Index, to_datetime, to_timedelta
  import pandas._testing
label_desc: Use image node_id 3 for calling the TestAstype obj's underlying member method code with example usage: obj.test_astype_float64_mixed_to_object() without return types