8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ndarray.__getitem__
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's a very complicated method signature, e.g.
_[()]
Self
_[int]
Self[DTypeT, ShapeT[1:]]
_[int, int]
_[None]
array[DTypeT, (int, *ShapeT)]
_[None, None]
array[DTypeT, (int, int, *ShapeT)]
_[slice | array-indexer]
_[slice | array-indexer, slice | array-indexer]
_[...]
almost all possible combinations are also valid 😅
The text was updated successfully, but these errors were encountered:
jorenham
No branches or pull requests
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 😅
The text was updated successfully, but these errors were encountered: