code: def test_pandas_freq_decorator():
      x = make_dataframe()
      # in x, get a function back that returns an x with the same columns
      func = pandas_wrapper(dummy_func)
  
      np.testing.assert_equal(func(x.values), x)
  
      func = pandas_wrapper(dummy_func_array)
      assert_frame_equal(func(x), x)
  
      expected = x.rename(columns=dict(zip("ABCD", "EFGH")))
      func = pandas_wrapper(dummy_func_array, names=list("EFGH"))
      assert_frame_equal(func(x), expected)
  
imports: from statsmodels.compat.pandas import QUARTER_END, assert_frame_equal, make_dataframe
  from datetime import datetime
  import numpy
  from numpy import array, column_stack
  from numpy.testing import assert_, assert_allclose, assert_almost_equal, assert_equal, assert_raises
  from pandas import DataFrame, concat, date_range
  from statsmodels.datasets import macrodata
  from statsmodels.tsa.filters._utils import pandas_wrapper
  from statsmodels.tsa.filters.bk_filter import bkfilter
  from statsmodels.tsa.filters.cf_filter import cffilter
  from statsmodels.tsa.filters.filtertools import convolution_filter, recursive_filter
  from statsmodels.tsa.filters.hp_filter import hpfilter
label_desc: Use image node_id 12 for calling a global function with example usage: test_pandas_freq_decorator() without return types