code: def transformDataset(self, df, horizon_index=1):
      series = self.mCycleResidueName
      pred = self.croston(df, horizon_index)
      df[self.mOutName] = pred["forecast"]
      target = df[series].values
      df[self.mOutName + "_residue"] = target - df[self.mOutName].values
      return df
  
file_path: atspy/atspy/TS/Intermittent_Models.py
imports: import numpy
  import pandas
  from .None import SignalDecomposition_AR
  from .None import Utils
  from .None import Perf
  import sys
label_desc: Use image node_id 9 for calling the cCroston_Model obj's underlying member method code with example usage: obj.transformDataset(df, horizon_index) and returns: df