code: def data(request):
      mean = np.arange(10.0)
      variance = np.arange(1, 11.0)
      if not request.param:
          return mean, variance
      idx = pd.date_range("2000-1-1", periods=10, freq=MONTH_END)
      return pd.Series(mean, index=idx), pd.Series(variance, index=idx)
  
file_path: statsmodels/statsmodels/tsa/base/tests/test_prediction.py
imports: from statsmodels.compat.pandas import MONTH_END
  import numpy
  import pandas
  import pytest
  from scipy import stats
  from statsmodels.tsa.base.prediction import PredictionResults
label_desc: Use image node_id 1 for calling a global function with example usage: data(request) and returns: pd,  pd, mean,  variance