original_docstring: Allocate appropriate mean to time series
docstring: Allocate appropriate mean to time series
docstring_tokens: Allocate appropriate mean to time series
code: def r(s=s, e=e, l=l):
      """Allocate appropriate mean to time series"""
      out = np.empty(len(disasters_array))
      # Early mean prior to switchpoint
      out[:s] = e
      # Late mean following switchpoint
      out[s:] = l
      return out
code_tokens: def r ( s = s , e = e , l = l ) : out = np . empty ( len ( disasters_array ) ) out [ : s ] = e out [ s : ] = l return out
short_docstring: Allocate appropriate mean to time series
short_docstring_tokens: Allocate appropriate mean to time series
comment: """Allocate appropriate mean to time series"""$SEP$# Early mean prior to switchpoint$SEP$# Late mean following switchpoint