I am trying to combine arrays in python similar to matlab
array1= zeros(3,500); array2=ones(3,700); array=[array1, array2];
In python, I did the following:
array1=np.zeros((3,500)) array2=np.ones((3,700)) array=numpy.concatenate((array1, array2), axis=2)
however this gives me different results when I get access to "array [0 ,:]" is there any way in python to put arrays in one array, similar to matlab.
thanks
source share