code: def shift_series(self, series, p, idefault):
      N = series.shape[0]
      lType = np.dtype(series)
      first_values = np.full((p), idefault, dtype=lType)
      new_values = np.hstack((first_values, series.values[0 : N - p]))
      return new_values
  
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 5 for calling the cAbstractAR obj's underlying member method code with example usage: obj.shift_series(series, p, idefault) and returns: new_values