-
-
Notifications
You must be signed in to change notification settings - Fork 60
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
enabled ellipsis here and there #863
base: main
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #863 +/- ##
==========================================
- Coverage 86.98% 86.98% -0.01%
==========================================
Files 403 403
Lines 52559 52566 +7
==========================================
+ Hits 45717 45722 +5
- Misses 6842 6844 +2 ☔ View full report in Codecov by Sentry. |
Are you sure you want to do this? This is not standard behavior. Numpy for example uses ellipsis to indicate, "for all other axes do nothing". I.e. it is not something that applies for a single axis. |
But right now So before one would do:
Why would The standard says:
which I kind of think is ok here? But I would be happy to hear why not! ;) |
I have to admit when I say standard I mean In particular: array[..., 0] means:
It is true that for now we don't support multiple dimensions, but this is where it seems the implementation would go if we supported them. I am ok with using the ellipsis as arguments of the function call (although I don't see the problem with using None), but I would not support it in |
I see, I think mainly this would be useful in the
Agreed, Let me fix it... |
So, would only for |
I guess it depends on the person, I am used to |
Yeah, for sure we need to have them both. |
For me it would be unnecessary :) |
(no one has ever complained about it) |
Should be improved so None fully gets removed. Signed-off-by: Nick Papior <[email protected]>
Signed-off-by: Nick Papior <[email protected]>
Should be improved so None fully gets removed.