Split an array into a sequence of arrays along the given axis.
The axis parameter specifies the dimension of the input array to unstack along; it is removed from the shape of each output array. This is the inverse operation of stack().
axis
stack()
Split an array into a sequence of arrays along the given axis.
The
axisparameter specifies the dimension of the input array to unstack along; it is removed from the shape of each output array. This is the inverse operation ofstack().