numpy.stack()
numpy.stack
-
numpy.stack(arrays, axis=0)
[source] -
Join a sequence of arrays along a new axis.
The
axis
parameter specifies the index of the new axis in the dimensions of the result. For example, ifaxis=0
it will be the first dimension and ifaxis=-1
it will be the last dimension.New in version 1.10.0.
Parameters: arrays : sequence of array_like