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