code: def test_raw_numpy_func(dummy_data):
      numpy_f = np.abs
      inp = dummy_data["TMP"]
  
      # Raw numpy function
      assert isinstance(inp.values, np.ndarray)
      res = numpy_f(inp.values)
      assert isinstance(res, np.ndarray)
      assert res.shape == dummy_data["TMP"].shape
      assert all(res >= 0)
  
      # Decorated series function
      processor = SeriesProcessor(
          series_names=["TMP"], function=numpy_f
      )
      series_dict = series_to_series_dict(inp)
      assert isinstance(inp, pd.Series)
      res = processor(series_dict)
      assert isinstance(res, dict)
      assert res.keys() == series_dict.keys()
      assert isinstance(res["TMP"], pd.Series)
      assert res["TMP"].shape == dummy_data["TMP"].shape
      assert all(res["TMP"] >= 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 8 for calling a global function with example usage: test_raw_numpy_func(dummy_data) without return types