Back to Numerical Arrays (NumPy)
np.expandEllipsis
Expand ellipsis and validate index dimensions.
Syntax
np.expandEllipsis(indices, ndim)
Description
Expand ellipsis and validate index dimensions.
Parameters
| Name | Description |
|---|---|
| indices | - Array of index elements (may contain ellipsis) |
| ndim | - Number of dimensions in the array being indexed |
Returns
IndexElement[]