numpy.unstack
- numpy.unstack(x, /, *, axis=0)
Split an array into a sequence of arrays along the given axis.
The
axisparameter specifies the dimension along which the array will be split. For example, ifaxis=0(the default) it will be the first dimension and ifaxis=-1it will be the last dimension.The result is a tuple of arrays split along
.