code: def test_boxcox_transform():
      """Test whether adaptor based transformer behaves like the raw wrapped method."""
      from scipy.stats import boxcox
  
      y = load_airline()
      t = TabularToSeriesAdaptor(
          PowerTransformer(method="box-cox", standardize=False)
      )
      actual = t.fit_transform(y)
  
      expected, _ = boxcox(
          np.asarray(y)
      )  # returns fitted lambda as second output
      np.testing.assert_array_equal(actual, expected)
  
imports: import numpy
  import pytest
  from sklearn.preprocessing import PowerTransformer
  from sktime.datasets import load_airline
  from sktime.transformations.series.adapt import TabularToSeriesAdaptor
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 1 for calling a global function with example usage: test_boxcox_transform() without return types