Question: Please Answer using Numpy in python n[]:a=np.array([[1,2],[3,4]])b=np.array([[5,6]]) Given the arreys above, use at leest TWO diffemt methods to vertical stack array a and b. hint
Please Answer using Numpy in python![Please Answer using Numpy in python n[]:a=np.array([[1,2],[3,4]])b=np.array([[5,6]]) Given the arreys above, use](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66d6e4b244259_28166d6e4b1d762a.jpg)
n[]:a=np.array([[1,2],[3,4]])b=np.array([[5,6]]) Given the arreys above, use at leest TWO diffemt methods to vertical stack array a and b. hint the functions cen be used are: concatenate , vstack, append, insert hint2: do not forget axis =cr1 option [15]: \# provide your answier here t[15 ] : array [[[1,2], [3,4], [5,6]]) Given the arrays above, use at least TWO different methods to horizontal stack array a and b. hirt: the functions can be used are: concatenate , hstack, append, insert hint : do not forget axis =8cr1 option [2]: \# provide your answer here t [2]:array([[1,2,5], [3,4,6]]) [ ]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
