code: def _make_regression_y(
      n_instances=20, return_numpy=True, random_state=None
  ):
      rng = check_random_state(random_state)
      y = rng.normal(size=n_instances)
      if return_numpy:
          return y
      else:
          return pd.Series(y)
  
file_path: sktime/sktime/utils/_testing/panel.py
imports: import numpy
  import pandas
  from sklearn.utils.validation import check_random_state
  from sktime.datatypes import convert
label_desc: Use image node_id 3 for calling a global function with example usage: _make_regression_y(n_instances, return_numpy, random_state) and returns: y, pd