Python: Concatenate 3 arrays
d=np.concatenate((a, b,c), axis=None)
The None
parameter ensures that the arrays are flattened before concatenation (the gluing of arrays).
Stack those horizontally with np.hstack
and flatten with np.ravel
-
np.hstack(( a,b,c )).ravel()