code: def test_onehot_drop_idx_first(client):
      X_ary = [["c", 2, "a"], ["b", 2, "b"]]
      X = DataFrame(
          {"chars": ["c", "b"], "int": [2, 2], "letters": ["a", "b"]}
      )
      ddf = dask_cudf.from_cudf(X, npartitions=2)
  
      enc = OneHotEncoder(sparse=False, drop="first")
      sk_enc = SkOneHotEncoder(sparse=False, drop="first")
      ohe = enc.fit_transform(ddf)
      ref = sk_enc.fit_transform(X_ary)
      cp.testing.assert_array_equal(ohe.compute(), ref)
      inv = enc.inverse_transform(ohe)
      assert_frame_equal(
          inv.compute().to_pandas().reset_index(drop=True),
          X.to_pandas(),
      )
  
file_path: cuml/python/cuml/tests/dask/test_dask_one_hot_encoder.py
imports: from cuml.internals.safe_imports import cpu_only_import_from
  from sklearn.preprocessing import OneHotEncoder
  from cuml.testing.utils import stress_param, generate_inputs_from_categories, assert_inverse_equal, from_df_to_numpy
  from cuml.dask.preprocessing import OneHotEncoder
  import dask.array
  from cuml.internals.safe_imports import cpu_only_import
  from cudf import DataFrame, Series
  import pytest
  from cuml.internals.safe_imports import gpu_only_import
label_desc: Use image node_id 8 for calling a global function with example usage: test_onehot_drop_idx_first(client) without return types