Join a sequence of arrays together.
Parameters: | a1, a2, ... : sequence of ndarrays
axis : int, optional
|
---|---|
Returns: | res : ndarray
|
See also
Examples
>>> a = np.array([[1, 2], [3, 4]])
>>> b = np.array([[5, 6]])
>>> np.concatenate((a, b), axis=0)
array([[1, 2],
[3, 4],
[5, 6]])