for i in range(len(myArray)):
    myArray[i] = [i, i + 1, i + 2]
myArray = []
for i in range(10):
    myArray.append(np.array([i, i + 1, i + 2]))
myArray = np.vstack(myArray)
Remove dtype at the end of numpy array