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