code: def test_onehot_get_dummies_multicol(n_cols):
      n_categories = 5
      data = dict(
          zip(
              ascii_lowercase,
              (np.arange(n_categories) for _ in range(n_cols)),
          )
      )
  
      gdf = cudf.DataFrame(data)
      pdf = pd.DataFrame(data)
  
      encoded_expected = pd.get_dummies(pdf, prefix="test")
      with pytest.warns(FutureWarning):
          encoded_actual = cudf.get_dummies(gdf, prefix="test")
  
      assert_eq(encoded_expected, encoded_actual)
  
file_path: cudf/python/cudf/cudf/tests/test_onehot.py
imports: from string import ascii_lowercase
  import numpy
  import pandas
  import pytest
  import cudf
  from cudf.testing._utils import assert_eq
label_desc: Use image node_id 2 for calling a global function with example usage: test_onehot_get_dummies_multicol(n_cols) without return types