code: def create_predictors(y):  # pragma: no cover
      """
      Create first 3 lags of a time series.
      """
  
      lags = y[-1:-4:-1]
  
      return lags
  
file_path: skforecast/skforecast/ForecasterAutoregCustom/tests/test_predict_bootstrapping.py
imports: import re
  import pytest
  import numpy
  import pandas
  from sklearn.exceptions import NotFittedError
  from skforecast.ForecasterAutoregCustom import ForecasterAutoregCustom
  from sklearn.linear_model import LinearRegression
  from sklearn.preprocessing import StandardScaler
  from .fixtures_ForecasterAutoregCustom import y
  from .fixtures_ForecasterAutoregCustom import exog
  from .fixtures_ForecasterAutoregCustom import exog_predict
label_desc: Use image node_id 1 for calling a global function with example usage: create_predictors(y) and returns: lags