code: def test_ets_predict_range(make_weekly_data, idx_range):
      train_cut_off = 100
      base_df, _, _ = make_weekly_data
      train_df = base_df[:train_cut_off].reset_index(drop=True)
      predict_df = base_df[idx_range[0] : idx_range[1]].reset_index(
          drop=True
      )
  
      ets = ETS(
          response_col="response",
          date_col="week",
          seasonality=52,
          verbose=False,
          estimator="stan-map",
      )
      ets.fit(train_df)
      ets.predict(predict_df)
  
file_path: orbit/tests/orbit/models/test_ets.py
imports: import pytest
  import numpy
  from copy import copy
  from orbit.models import ETS
  from orbit.constants.constants import PredictionKeys
label_desc: Use image node_id 12 for calling a global function with example usage: test_ets_predict_range(make_weekly_data, idx_range) without return types