During preparing data for NumPy calculate. I am curious about way to construct:
myarray.shape => (2,18,18)
from:
d1.shape
arr3=np.dstack([arr1, arr2])
arr1, arr2 are 2d array shape (256,256), arr3: shape(256,256,2)
shape (256,256)
shape(256,256,2)