code: def test_series_list_output(dummy_data):
      # Create series output function
      def to_numeric_abs(series: pd.Series) -> List[pd.Series]:
          return [
              pd.to_numeric(series),
              pd.Series(
                  np.abs(pd.to_numeric(series)),
                  name=f"{series.name}_abs",
              ),
          ]
  
      series_list_f = to_numeric_abs
  
      inp = dummy_data["TMP"].astype(str)
      assert isinstance(inp, pd.Series)
  
      # Undecorated series function
      assert not np.issubdtype(inp, np.number)
      res = to_numeric_abs(inp)
      assert isinstance(res, list)
      assert len(res) == 2
      assert [s.name for s in res] == ["TMP", "TMP_abs"]
      assert all([isinstance(s, pd.Series) for s in res])
      assert all([s.shape == dummy_data["TMP"].shape for s in res])
      assert np.issubdtype(res[0], np.number)
      assert all(res[1] > 0)
  
      # Decorated series function
      processor = SeriesProcessor(
          series_names=["TMP"], function=series_list_f
      )
      series_dict = series_to_series_dict(inp)
      assert not np.issubdtype(series_dict["TMP"], np.number)
      res = processor(series_dict)
      assert isinstance(res, dict)
      assert len(res) == 2
      assert res.keys() == set(["TMP", "TMP_abs"])
      assert all([isinstance(s, pd.Series) for s in res.values()])
      assert all(
          [s.shape == dummy_data["TMP"].shape for s in res.values()]
      )
      assert np.issubdtype(res["TMP"], np.number)
      assert all(res["TMP_abs"] > 0)
  
imports: from typing import List
  import numpy
  import pandas
  import pytest
  from pandas.testing import assert_index_equal, assert_series_equal
  from tsflex.processing import SeriesProcessor, dataframe_func
  from .utils import dataframe_to_series_dict, dummy_data, series_to_series_dict
label_desc: Use image node_id 6 for calling a global function with example usage: test_series_list_output(dummy_data) and returns: list