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

Reduce array indices to slices #84

Open
asmeurer opened this issue Sep 17, 2020 · 0 comments
Open

Reduce array indices to slices #84

asmeurer opened this issue Sep 17, 2020 · 0 comments

Comments

@asmeurer
Copy link
Member

I'm not sure if it's a good idea, but we could make reduce give a slice for an array index if it is equal. It isn't the same for arrays in tuples, so some care is required there. This also would change the index from a fancy to non-fancy index (the latter creates a view in NumPy), so I'm also not sure if it's actually a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant