code: def test_series_setitem_index():
      df = pd.DataFrame(
          data={"b": [-1, -2, -3], "c": [1, 2, 3]}, index=[1, 2, 3]
      )
  
      df["b"] = pd.Series(data=[12, 11, 10], index=[3, 2, 1])
      gdf = cudf.DataFrame(
          data={"b": [-1, -2, -3], "c": [1, 2, 3]}, index=[1, 2, 3]
      )
      gdf["b"] = cudf.Series(data=[12, 11, 10], index=[3, 2, 1])
      assert_eq(df, gdf, check_dtype=False)
  
imports: import numpy
  import pandas
  import pytest
  import cudf
  from cudf.core._compat import PANDAS_GE_150
  from cudf.testing._utils import assert_eq, assert_exceptions_equal
label_desc: Use image node_id 5 for calling a global function with example usage: test_series_setitem_index() without return types