New issue
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
Document ndindex(shape) #16745
Comments
We may want to make that version the preferred documented one, and just briefly mention the other option as well. In most cases (e.g. also |
Just to clarify this a bit - I think there are two things that make the
|
This has been fixed.
I will be raising a PR for this :) |
This usage of
ndindex
:seems to work with
but it's not documented. Is this usage intended to be allowed? (I'd like it to be, because if
shape == 5
thennp.index(shape)
works whilenp.ndindex(*shape)
does not.) If it is, could it be added to the docs?The text was updated successfully, but these errors were encountered: