DOC: clarify wording in quickstart ix_() section#31149
Merged
ngoldbaum merged 1 commit intonumpy:mainfrom Apr 9, 2026
Merged
Conversation
The original sentence "creating an argument array the size of the output times the number of vectors" was confusing. Reworded to be clearer about the memory advantage of using broadcasting with ix_(). Closes numpy#31127
Member
|
LGTM, clearly an improvement. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR summary
Clarifies a confusing sentence in the "The ix_() function" section of the
NumPy quickstart tutorial.
The original wording — "creating an argument array the size of the output
times the number of vectors" — was reported as unclear by a user learning
from the quickstart. This rewording follows the suggestion from @ngoldbaum
in the issue discussion.
Closes #31127
First time committer introduction
Hi! I'm Alejandro Garcia de Paredes, a code enthusiast with a background in data science, data engineering, and AI engineering. I'm looking to contribute to open source projects and this one caught my attention. Happy to receive feedback and iterate on my contribution.
AI Disclosure
No AI tools used.