[Solved]-Python Combine Using Np Input X Nparray 0 1 2 3 Y Nparray 4 5 6 7 Z Code Print Z Output Ar Q37290167
Python
how do I combine below using np:
Input:
>>> x = np.array([0,1,2,3])
>>> y = np.array([4,5,6,7])
>>> z = #code
>>>print(z)
Output:
array([[0, 4],
[1, 5],
[2, 6],
[3, 7]])
z should equal to concatenating x and y but it’s 0 4 1 5…vs 01 2 3…
Expert Answer
Answer to Python how do I combine below using np: Input: >>> x = np.array([0,1,2,3]) >>> y = np.array([4,5,6,7]) >>> z = #code >>>… . . .
OR

