code: def test_interp_quad(self):
      pytest.importorskip("scipy")
      sq = Series([1, 4, np.nan, 16], index=[1, 2, 3, 4])
      result = sq.interpolate(method="quadratic")
      expected = Series([1.0, 4.0, 9.0, 16.0], index=[1, 2, 3, 4])
      tm.assert_series_equal(result, expected)
  
imports: import numpy
  import pytest
  import pandas.util._test_decorators
  import pandas
  from pandas import Index, MultiIndex, Series, date_range, isna
  import pandas._testing
label_desc: Use image node_id 15 for calling the TestSeriesInterpolateData obj's underlying member method code with example usage: obj.test_interp_quad() without return types