list1 = []
for i in range(len(array1)):
a1 = array1[i-1]
list1.append(a1)
array1 = np.array(list1)
list2 = []
for i in range(len(array2)):
a2 = array2[i-1]
list2.append(a2)
array2 = np.array(list2)
total_array = np.vstack((array1, array2))