code: def _repeat_val_seas(season_vals: np.ndarray, h: int) -> np.ndarray:
      repeats = math.ceil(h / season_vals.size)
      return np.tile(season_vals, repeats)[:h]
  
file_path: statsforecast/statsforecast/utils.py
imports: from typing import Dict
  import math
  import os
  import warnings
  import numpy
  import pandas
  from scipy.stats import norm
  from utilsforecast.compat import DataFrame
  from utilsforecast.data import generate_series
label_desc: Use image node_id 2 for calling a global function with example usage: _repeat_val_seas(season_vals, h) and returns: np