array([[0, 1], [2, 3], [4, 5], [6, 7], [8, 9], [10, 11], [12, 13], [14, 15],
    [16, 17]])
array([[[0, 6, 12], [2, 8, 14], [4, 10, 16]], [[1, 7, 13], [3, 9, 15], [5, 
    11, 17]]])
Reshape an array in NumPy