Skip to content
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

REF: Use range over arange for iterators #59619

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

mroeschke
Copy link
Member

Minor, but we shouldn't need to materialize all the values in a range (np.arange) when it's just used as an iterator

@mroeschke mroeschke added the Refactor Internal refactoring of code label Aug 26, 2024
@mroeschke mroeschke added this to the 3.0 milestone Aug 26, 2024
@mroeschke
Copy link
Member Author

Looks like tests are passing and this should have minimal positive impacts so merging

@mroeschke mroeschke merged commit 350904c into pandas-dev:main Aug 30, 2024
49 checks passed
@mroeschke mroeschke deleted the ref/arange/range branch August 30, 2024 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor Internal refactoring of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant