code: def test_interpolate_complex(self):
      # GH#53635
      ser = Series([complex("1+1j"), float("nan"), complex("2+2j")])
      assert ser.dtype.kind == "c"
  
      res = ser.interpolate()
      expected = Series([ser[0], ser[0] * 1.5, ser[2]])
      tm.assert_series_equal(res, expected)
  
      df = ser.to_frame()
      res = df.interpolate()
      expected = expected.to_frame()
      tm.assert_frame_equal(res, expected)
  
imports: import numpy
  import pytest
  from pandas._config import using_pyarrow_string_dtype
  from pandas.errors import ChainedAssignmentError
  import pandas.util._test_decorators
  from pandas import DataFrame, NaT, Series, date_range
  import pandas._testing
label_desc: Use image node_id 1 for calling the TestDataFrameInterpolate obj's underlying member method code with example usage: obj.test_interpolate_complex() without return types