<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Trying out if i can shuffel two arrays with dimentions like
a.shape (3, 2, 3)
b.shape (3, 2)
I am trying to shuffel A and b such that the if row 2 of a goes to row 1 of a. Same movement will be done for b
Step1:  Merge to 2 arrays into 1 array
Step2:  Extract the 2 arrays out
Step3:  Shuffle and see the output.
<ASSISTANT_TASK:>
Python Code:
a = np.array([[[  0.,   1.,   2.],
                  [  3.,   4.,   5.]],
                 [[  6.,   7.,   8.],
                  [  9.,  10.,  11.]],
                 [[ 12.,  13.,  14.],
                  [ 15.,  16.,  17.]]])
b = np.array([[ 0.,  1.],
                 [ 2.,  3.],
                 [ 4.,  5.]])
print a.shape
print b.shape
Explanation: Trying out if i can shuffel two arrays with dimentions like
a.shape (3, 2, 3)
b.shape (3, 2)
I am trying to shuffel A and b such that the if row 2 of a goes to row 1 of a. Same movement will be done for b
End of explanation
c = np.c_[a.reshape(len(a), -1), b.reshape(len(b), -1)]
print c
Explanation: Merge to 2 arrays into 1 array
End of explanation
a2 = c[:, :a.size//len(a)].reshape(a.shape)
b2 = c[:, a.size//len(a):].reshape(b.shape)
print a2
print b2
Explanation: Extract the 2 arrays out
End of explanation
np.random.shuffle(c)
print a2
print b2
Explanation: Shuffle and see the output.
End of explanation
<END_TASK>