I try to assign a value from the second matrix to the values in the first lubricator according to the example. First, I go through the last row in the matrix b and assign the values from the matrix d to it gradually. Then I move one line higher in the matrix b and the next position in the matrix d and I also assign successively. And so I proceed to the end of the matrix
Example
import numpy as np
b=np.array([13,14,15,16,17],
[22,23,24,25,26],
[31,32,33,34,35])
d=np.array[100,200,300,400,500,600,700]
required output
31 100
32 200
33 300
34 400
35 500
22 200
23 300
24 400
25 500
26 600
13 300
14 400
15 500
16 600
17 700
Can anyone help me with this?