code: def create_design_matrix_2(Z, data, Y_len, lag_no):
      """
      For Python 2.7 - cythonized version only works for 3.5
      """
      row_count = 1
  
      for lag in range(1, lag_no + 1):
          for reg in range(Y_len):
              Z[row_count, :] = data[reg][(lag_no - lag) : -lag]
              row_count += 1
  
      return Z
  
imports: import sys
  import numpy
  import pandas
  import scipy.stats
  import datetime
  from ..None import families
  from ..None import output
  from ..None import tests
  from ..None import tsm
  from ..None import data_check
  from .var_recursions import create_design_matrix, custom_covariance_matrix, var_likelihood
label_desc: Use image node_id 1 for calling a global function with example usage: create_design_matrix_2(Z, data, Y_len, lag_no) and returns: Z