code: def test_series_func_wrapper(dummy_data):
      def max_diff(x: pd.Series):
          return x.index.to_series().diff().dt.total_seconds().max()
  
      func = FuncWrapper(max_diff, input_type=pd.Series)
  
      assert func.output_names == ["max_diff"]
      assert func(dummy_data["EDA"]) == 0.25
  
file_path: tsflex/tests/test_features_func_wrapper.py
imports: import functools
  from typing import Tuple
  import numpy
  import pandas
  import pytest
  from tsflex.features import FuncWrapper
  from .utils import dummy_data
label_desc: Use image node_id 5 for calling a global function with example usage: test_series_func_wrapper(dummy_data) and returns: x