code: def test_output_type(test_sample) -> None:
      X = test_sample
      enc = OrdinalEncoder(output_type="cupy").fit(X)
      assert isinstance(enc.transform(X), cp.ndarray)
      enc = OrdinalEncoder(output_type="cudf").fit(X)
      assert isinstance(enc.transform(X), DataFrame)
      enc = OrdinalEncoder(output_type="pandas").fit(X)
      assert isinstance(enc.transform(X), pd.DataFrame)
      enc = OrdinalEncoder(output_type="numpy").fit(X)
      assert isinstance(enc.transform(X), np.ndarray)
      # output_type == "input"
      enc = OrdinalEncoder().fit(X)
      assert isinstance(enc.transform(X), DataFrame)
  
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 5 for calling a global function with example usage: test_output_type(test_sample) without return types