code: def transformDataset(self, df):
      target = df[self.mTrend_residue_name]
      df[self.getCycleName()] = df[self.mTime].apply(
          self.get_date_part_encoding
      )
      df[self.getCycleResidueName()] = (
          target - df[self.getCycleName()].values
      )
      return df
  
imports: import pandas
  import numpy
  from .None import Time
  from .None import Perf
  from .None import Plots
  from .None import Utils
  import time
label_desc: Use image node_id 7 for calling the cSeasonalPeriodic obj's underlying member method code with example usage: obj.transformDataset(df) and returns: df