code: def test_stroll_time_data(dummy_data):
      def corr(s1, s2):
          min_len = min(len(s1), len(s2))
          s1 = s1[:min_len]
          s2 = s2[:min_len]
          return np.corrcoef(s1, s2)[0][-1].astype(s1.dtype)
  
      f_corr = FuncWrapper(func=corr, output_names="corrcoef")
      window = parse_time_arg("30s")
      stride = parse_time_arg("30s")
  
      stroll = StridedRollingFactory.get_segmenter(
          data=dummy_data[["EDA", "TMP"]],
          window=window,
          strides=[stride],
      )
  
      out_f = stroll.apply_func(f_corr)
      assert out_f.shape[1] == 1
      assert out_f.columns[0] == "EDA|TMP__corrcoef__w=30s"
  
file_path: tsflex/tests/test_stroll_factory.py
imports: import numpy
  import pandas
  import pytest
  from tsflex.features import FuncWrapper
  from tsflex.features.segmenter import StridedRollingFactory
  from tsflex.features.segmenter.strided_rolling import TimeIndexSampleStridedRolling
  from tsflex.utils.time import parse_time_arg
  from .utils import dummy_data
label_desc: Use image node_id 1 for calling a global function with example usage: test_stroll_time_data(dummy_data) and returns: np