unstack
Splits an array into a sequence of arrays along the given axis.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
x
|
SparseArray
|
Input sparse arrays. |
required |
axis
|
int
|
Axis along which the array will be split |
0
|
Returns:
| Name | Type | Description |
|---|---|---|
out |
Tuple[SparseArray, ...]
|
Tuple of slices along the given dimension. All the arrays have the same shape. |
Source code in sparse/numba_backend/_common.py
3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 | |