code: def test_Pipeline(self):
      iris = datasets.load_iris()
      df = pdml.ModelFrame(iris)
  
      estimators1 = [
          ("reduce_dim", df.decomposition.PCA()),
          ("svm", df.svm.SVC()),
      ]
      pipe1 = df.pipeline.Pipeline(estimators1)
  
      estimators2 = [
          ("reduce_dim", decomposition.PCA()),
          ("svm", df.svm.SVC()),
      ]
      pipe2 = pipeline.Pipeline(estimators2)
  
      df.fit(pipe1)
      pipe2.fit(iris.data, iris.target)
  
      result = df.predict(pipe1)
      expected = pipe2.predict(iris.data)
      self.assertIsInstance(result, pdml.ModelSeries)
      self.assert_numpy_array_almost_equal(result.values, expected)
  
file_path: pandas-ml/pandas_ml/skaccessors/test/test_pipeline.py
imports: import sklearn.datasets
  import sklearn.decomposition
  import sklearn.pipeline
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 2 for calling the TestPipeline obj's underlying member method code with example usage: obj.test_Pipeline() without return types