Back to Numerical Arrays (NumPy)
np.unstack
Unpack the array along a given axis.
Syntax
np.unstack(arr, axis?)
Description
Unpack the array along a given axis. The inverse of stack.
Parameters
| Name | Description |
|---|---|
| arr | - Array to unpack |
| axis(optional) | - Axis along which to unpack (default: 0) |
Returns
NDArray[]