code: def test_interpolate_series_unsorted_index(data, index):
      gsr = cudf.Series(data, index=index)
      psr = gsr.to_pandas()
  
      expect = psr.interpolate(method="values")
      got = gsr.interpolate(method="values")
  
      assert_eq(expect, got)
  
imports: import pytest
  import cudf
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 3 for calling a global function with example usage: test_interpolate_series_unsorted_index(data, index) without return types