code: def prepend(self, other, inplace=True, pad=None, gap=None, resize=True):
          
          out = other.append(self, inplace=False, gap=gap, pad=pad,
                             resize=resize)
          if inplace:
              self.resize(out.shape, refcheck=False)
              self[:] = out[:]
              self.x0 = out.x0.copy()
              del out
              return self
          return out
docs: Connect another series onto the start of the current one.
  
          Parameters
          ----------
          other : `Series`
              another series of the same type as this one
  
          inplace : `bool`, optional
              perform operation in-place, modifying current series,
              otherwise copy data and return new series, default: `True`
  
              .. warning::
  
                 `inplace` prepend bypasses the reference check in
                 `numpy.ndarray.resize`, so be carefully to only use this
                 for arrays that haven't been sharing their memory!
  
          pad : `float`, optional
              value with which to pad discontiguous series,
              by default gaps will result in a `ValueError`.
  
          gap : `str`, optional
              action to perform if there's a gap between the other series
              and this one. One of
  
              - ``'raise'`` - raise a `ValueError`
              - ``'ignore'`` - remove gap and join data
              - ``'pad'`` - pad gap with zeros
  
              If `pad` is given and is not `None`, the default is ``'pad'``,
              otherwise ``'raise'``.
  
          resize : `bool`, optional
              resize this array to accommodate new data, otherwise shift the
              old data to the left (potentially falling off the start) and
              put the new data in at the end, default: `True`.
  
          Returns
          -------
          series : `TimeSeries`
              time-series containing joined data sets