code: def test_string_cython_vs_numba(agg_func, numba_supported_reductions):
      pytest.importorskip("numba")
      agg_func, kwargs = numba_supported_reductions
      data = DataFrame(
          {0: ["a", "a", "b", "b", "a"], 1: [1.0, 2.0, 3.0, 4.0, 5.0]},
          columns=[0, 1],
      )
      grouped = data.groupby(0)
  
      result = grouped.transform(agg_func, engine="numba", **kwargs)
      expected = grouped.transform(agg_func, engine="cython", **kwargs)
      tm.assert_frame_equal(result, expected)
  
      result = grouped[1].transform(agg_func, engine="numba", **kwargs)
      expected = grouped[1].transform(
          agg_func, engine="cython", **kwargs
      )
      tm.assert_series_equal(result, expected)
  
file_path: pandas/pandas/tests/groupby/transform/test_numba.py
imports: import numpy
  import pytest
  from pandas.errors import NumbaUtilError
  from pandas import DataFrame, Series, option_context
  import pandas._testing
label_desc: Use image node_id 6 for calling a global function with example usage: test_string_cython_vs_numba(agg_func, numba_supported_reductions) without return types