code: def test_loc_setitem_extend_existing_12505():
      df = pd.DataFrame({"a": [0]})
      cdf = cudf.from_pandas(df)
  
      df.loc[1] = 1
  
      cdf.loc[1] = 1
  
      assert_eq(df, cdf)
  
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 24 for calling a global function with example usage: test_loc_setitem_extend_existing_12505() without return types