I'm trying to create a new array out of two other arrays. I already tried multiple np.append() statements along multiple axis. Here is some code:
arr1 = np.zeros(2, 3)
arr2 = np.zeros(2, 2)
new_arr = np.append(arr1, arr2)
print(new_arr)
Desired output:
[
[[0, 0, 0], [0, 0, 0]],
[[0, 0], [0, 0]]
]
Actual output:
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0]