class_docstr: Result of a step.
  
  Parameters
  ----------
  result : mtype: `np.ndarray` or `pd.Series` or `pd.DataFrame`
      The result of the step.
  mode : str
      The mode of the result. Is it a probabilistic result or not.
class_docstr_tok: ["Result","of","a","step",".","Parameters","--","--","--","--","--","result",":","mtype",":","`","np.ndarray","`","or","`","pd.Series","`","or","`","pd.DataFrame","`","The","result","of","the","step",".","mode",":","str","The","mode","of","the","result",".","Is","it","a","probabilistic","result","or","not","."]
code: def __init__(self, result, mode):
      self.result = result
      self.mode = mode
  
file_path: sktime/sktime/pipeline/step.py
imports: import inspect
  from copy import deepcopy
  import pandas
  from sktime.forecasting.base import BaseForecaster
label_desc: Use image node_id 1 to create a new StepResult object  with example: obj = StepResult(result, mode)