code: def test_ordinal_array() -> None:
      X = cp.arange(32).reshape(16, 2)
  
      enc = OrdinalEncoder()
      enc.fit(X)
      Xt = enc.transform(X)
  
      Xh = cp.asnumpy(X)
      skenc = skOrdinalEncoder()
      skenc.fit(Xh)
      Xt_sk = skenc.transform(Xh)
  
      cp.testing.assert_allclose(Xt, Xt_sk)
  
file_path: cuml/python/cuml/tests/test_ordinal_encoder.py
imports: import cupy
  import numpy
  import pandas
  import pytest
  from sklearn.preprocessing import OrdinalEncoder
  from cuml.internals.safe_imports import gpu_only_import_from
  from cuml.preprocessing import OrdinalEncoder
label_desc: Use image node_id 4 for calling a global function with example usage: test_ordinal_array() without return types