code: def _adapt_y_pred(y_pred):
      """Translate wrapper prediction to sktime format.
  
      From Dataframe to series.
  
      Parameters
      ----------
      y_pred : pd.DataFrame
  
      Returns
      -------
      pd.Series : Predictions in form of series
      """
      return y_pred.iloc[:, 0]
  
file_path: sktime/sktime/forecasting/adapters/_hcrystalball.py
imports: import pandas
  from sklearn.base import clone
  from sktime.forecasting.base import BaseForecaster
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 5 for calling a global function with example usage: _adapt_y_pred(y_pred) and returns: y_pred