code: def test_column_transformer_named_transformers_(
      clf_dataset,
  ):  # noqa: F811
      X_np, X = clf_dataset
  
      cu_transformers = [
          ("PolynomialFeatures", cuPolynomialFeatures(), [0, 2])
      ]
      transformer = cuColumnTransformer(cu_transformers)
      transformer.fit_transform(X)
      cu_named_transformers = transformer.named_transformers_
  
      sk_transformers = [
          ("PolynomialFeatures", skPolynomialFeatures(), [0, 2])
      ]
      transformer = skColumnTransformer(sk_transformers)
      transformer.fit_transform(X_np)
      sk_named_transformers = transformer.named_transformers_
  
      assert (
          cu_named_transformers.keys() == sk_named_transformers.keys()
      )
  
file_path: cuml/python/cuml/tests/test_compose.py
imports: from cuml.testing.test_preproc_utils import assert_allclose
  from sklearn.preprocessing import StandardScaler, Normalizer, PolynomialFeatures, OneHotEncoder
  from cuml.preprocessing import StandardScaler, Normalizer, PolynomialFeatures, OneHotEncoder
  from sklearn.compose import ColumnTransformer, make_column_transformer, make_column_selector
  from cuml.compose import ColumnTransformer, make_column_transformer, make_column_selector
  from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.internals.safe_imports import cpu_only_import_from
  from cuml.internals.safe_imports import cpu_only_import
  import pytest
  from cuml.internals.safe_imports import gpu_only_import
  from cuml.testing.test_preproc_utils import clf_dataset, sparse_clf_dataset
label_desc: Use image node_id 6 for calling a global function with example usage: test_column_transformer_named_transformers_(clf_dataset) without return types