code: def test_searchsorted_dataframe(side, multiindex):
      values = cudf.DataFrame(
          {
              "a": [1, 0, 5, 1],
              "b": [-0.998, 0.031, -0.888, -0.998],
              "c": ["C", "A", "G", "B"],
          }
      )
      base = cudf.DataFrame(
          {
              "a": [1, 1, 1, 5],
              "b": [-0.999, -0.998, -0.997, -0.888],
              "c": ["A", "C", "E", "G"],
          }
      )
  
      if multiindex:
          base = base.set_index(["a", "b", "c"]).index
          values = values.set_index(["a", "b", "c"]).index
  
      result = base.searchsorted(values, side=side).tolist()
  
      if side == "left":
          assert result == [1, 0, 3, 1]
      else:
          assert result == [2, 0, 4, 1]
  
file_path: cudf/python/cudf/cudf/tests/test_search.py
imports: import cupy
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import assert_eq, gen_rand, random_bitmask
label_desc: Use image node_id 2 for calling a global function with example usage: test_searchsorted_dataframe(side, multiindex) without return types