concatenate
Concatenate the input arrays along the given dimension.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
arrays |
Iterable[SparseArray]
|
The input arrays to concatenate. |
required |
axis |
int
|
The axis along which to concatenate the input arrays. The default is zero. |
0
|
compressed_axes |
iterable
|
The axes to compress if returning a GCXS array. |
None
|
Returns:
| Type | Description |
|---|---|
SparseArray
|
The output concatenated array. |
Raises:
| Type | Description |
|---|---|
ValueError
|
If all elements of |
See Also
numpy.concatenate : NumPy equivalent function
Source code in sparse/numba_backend/_common.py
1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 | |