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
1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 |
|