code: def test_seasonal_decompose_smoke():
      x = np.array(
          [
              -50,
              175,
              149,
              214,
              247,
              237,
              225,
              329,
              729,
              809,
              530,
              489,
              540,
              457,
              195,
              176,
              337,
              239,
              128,
              102,
              232,
              429,
              3,
              98,
              43,
              -141,
              -77,
              -13,
              125,
              361,
              -45,
              184,
          ]
      )
      seasonal_decompose(x, period=4)
  
      data = pd.DataFrame(
          x,
          pd.date_range(
              start="1/1/1951", periods=len(x), freq=QUARTER_END
          ),
      )
  
      seasonal_decompose(data)
  
imports: from statsmodels.compat.pandas import MONTH_END, QUARTER_END, YEAR_END
  import numpy
  from numpy.testing import assert_allclose, assert_almost_equal, assert_equal, assert_raises
  import pandas
  import pytest
  from statsmodels.tsa.seasonal import seasonal_decompose
label_desc: Use image node_id 2 for calling a global function with example usage: test_seasonal_decompose_smoke() without return types