code: def test_issue_12773():
      # https://github.com/rapidsai/cudf/issues/12773
      df1 = cudf.DataFrame({"a": ["a", "b"], "b": [1, 2]})
      df2 = cudf.DataFrame({"a": ["a", "c"], "b": [2, 3]})
  
      dleft = dd.from_pandas(df1, npartitions=2).set_index("a")
      dright = dd.from_pandas(df2, npartitions=2).set_index("a")
  
      expected = df1.set_index("a").merge(
          df2.set_index("a"),
          left_index=True,
          right_index=True,
          how="left",
      )
      result = dleft.merge(
          dright, left_index=True, right_index=True, how="left"
      )
      dd.assert_eq(
          result.compute().to_pandas(),
          expected.to_pandas(),
          check_index=False,
      )
  
file_path: cudf/python/dask_cudf/dask_cudf/tests/test_join.py
imports: from functools import partial
  import numpy
  import pandas
  import pytest
  from dask import dataframe
  import cudf
  import dask_cudf
label_desc: Use image node_id 11 for calling a global function with example usage: test_issue_12773() without return types