code: def test_docs_tsfresh_extractor():
      """Test whether doc example runs through."""
      X, _ = load_arrow_head(return_X_y=True)[:3]
      ts_eff = TSFreshFeatureExtractor(
          default_fc_parameters="efficient", disable_progressbar=True
      )
      ts_eff.fit_transform(X)
      features_to_calc = [
          "dim_0__quantile__q_0.6",
          "dim_0__longest_strike_above_mean",
          "dim_0__variance",
      ]
      ts_custom = TSFreshFeatureExtractor(
          kind_to_fc_parameters=features_to_calc,
          disable_progressbar=True,
      )
      ts_custom.fit_transform(X)
  
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 2 for calling a global function with example usage: test_docs_tsfresh_extractor() without return types