Executing
import numpy as np t1 = np.arange(1,10) t2 = np.arange(11,20) t3 = np.concatenate((t1,t2),axis=1)
results in a
Trac
You better use a different function of Numpy called numpy.stack. It behaves like MATLAB's cat.
The numpy.stack function doesn't require the arrays to have the dimension they are concatenated along.
numpy.stack