code: def test_tsfresh_extractor(default_fc_parameters):
      """Test that mean feature of TSFreshFeatureExtract is identical with sample mean."""
      X, _ = make_classification_problem()
  
      transformer = TSFreshFeatureExtractor(
          default_fc_parameters=default_fc_parameters,
          disable_progressbar=True,
      )
  
      Xt = transformer.fit_transform(X)
      actual = Xt.filter(like="__mean", axis=1).values.ravel()
      converted = convert(X, from_type="nested_univ", to_type="pd-wide")
      expected = converted.mean(axis=1).values
      assert expected[0] == X.iloc[0, 0].mean()
      np.testing.assert_allclose(actual, expected)
  
file_path: sktime/sktime/transformations/panel/tests/test_tsfresh.py
imports: import numpy
  import pytest
  from sklearn.model_selection import train_test_split
  from sktime.datasets import load_arrow_head
  from sktime.datatypes import convert
  from sktime.tests.test_switch import run_test_for_class
  from sktime.transformations.panel.tsfresh import TSFreshFeatureExtractor
  from sktime.utils._testing.panel import make_classification_problem
label_desc: Use image node_id 1 for calling a global function with example usage: test_tsfresh_extractor(default_fc_parameters) without return types