code: def test_sequence_stroll_last_window_full(dummy_data):
      df_eda = dummy_data["EDA"].reset_index(drop=True)
  
      def stroll_apply_dummy_func(data, window, stride) -> pd.DataFrame:
          stroll = SequenceStridedRolling(
              data, window, [stride], window_idx="end"
          )
          return stroll.apply_func(FuncWrapper(np.min))
  
      out = stroll_apply_dummy_func(
          df_eda[:2198], window=1000, stride=200
      )
      assert out.index[-1] == 2000
      out = stroll_apply_dummy_func(
          df_eda[:2199], window=1000, stride=200
      )
      assert out.index[-1] == 2000
      out = stroll_apply_dummy_func(
          df_eda[:2200], window=1000, stride=200
      )
      assert out.index[-1] == 2000
      out = stroll_apply_dummy_func(
          df_eda[:2201], window=1000, stride=200
      )
      assert out.index[-1] == 2200
      out = stroll_apply_dummy_func(
          df_eda[:2202], window=1000, stride=200
      )
      assert out.index[-1] == 2200
  
      def stroll_apply_dummy_func(data, window, stride) -> pd.DataFrame:
          stroll = SequenceStridedRolling(
              data, window, stride, window_idx="begin"
          )
          return stroll.apply_func(FuncWrapper(np.min))
  
      out = stroll_apply_dummy_func(
          df_eda[:2198], window=1000, stride=200
      )
      assert out.index[-1] == 1000
      out = stroll_apply_dummy_func(
          df_eda[:2199], window=1000, stride=200
      )
      assert out.index[-1] == 1000
      out = stroll_apply_dummy_func(
          df_eda[:2200], window=1000, stride=200
      )
      assert out.index[-1] == 1000
      out = stroll_apply_dummy_func(
          df_eda[:2201], window=1000, stride=200
      )
      assert out.index[-1] == 1200
      out = stroll_apply_dummy_func(
          df_eda[:2202], window=1000, stride=200
      )
      assert out.index[-1] == 1200
  
imports: import numpy
  import pandas
  import pytest
  from tsflex.features import FuncWrapper
  from tsflex.features.segmenter.strided_rolling import SequenceStridedRolling, StridedRolling, TimeIndexSampleStridedRolling, TimeStridedRolling
  from .utils import dummy_data
label_desc: Use image node_id 3 for calling a global function with example usage: test_sequence_stroll_last_window_full(dummy_data) and returns: stroll, stroll