Open
Description
It's a very complicated method signature, e.g.
_[()]
returnsSelf
if 1d+, otherwise (if 0d) returns its scalar type_[int]
returnsSelf[DTypeT, ShapeT[1:]]
if 1d+, otherwise (if 0d) returns its scalar type_[int, int]
returnsSelf[DTypeT, ShapeT[1:]]
if 1d+, otherwise (if 0d) returns its scalar type- ...
_[None]
returnsarray[DTypeT, (int, *ShapeT)]
_[None, None]
returnsarray[DTypeT, (int, int, *ShapeT)]
- ...
_[slice | array-indexer]
returnsSelf
for 1d+, otherwise rejects_[slice | array-indexer, slice | array-indexer]
returnsSelf
for 2d+, otherwise rejects- ...
_[...]
returnsSelf
for 0d+
almost all possible combinations are also valid 😅