code: def test_transform(self, array):
      a = dpp.LabelEncoder()
      b = spp.LabelEncoder()
  
      a.fit(array)
      b.fit(array.compute())
  
      assert_eq_ar(
          a.transform(array).compute(), b.transform(array.compute())
      )
  
imports: import dask
  import dask.array
  import dask.dataframe
  import numpy
  import pandas
  import pytest
  import sklearn.preprocessing
  from dask.array.utils import assert_eq
  import dask_ml.preprocessing
  from dask_ml.utils import assert_estimator_equal
label_desc: Use image node_id 3 for calling the TestLabelEncoder obj's underlying member method code with example usage: obj.test_transform(array) without return types