code: def test_loc_setitem_series_index_alignment_13031(other_index):
      s = pd.Series([1, 2, 3], index=["1", "2", "3"])
      other = pd.Series([5, 6, 7], index=other_index)
  
      cs = cudf.from_pandas(s)
      cother = cudf.from_pandas(other)
  
      s.loc[["1", "3"]] = other
  
      cs.loc[["1", "3"]] = cother
  
      assert_eq(s, cs)
  
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 26 for calling a global function with example usage: test_loc_setitem_series_index_alignment_13031(other_index) without return types