-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
square-bracket slice a Dataset with a DataArray #2027
Comments
I think the short answer why we don't support this is that with This might be clearer with integer indexing. We support indexing like However, we could potentially support this as a form of "multi-dimensional boolean indexing" (#1887). Basically, |
In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here or remove the |
Still relevant |
In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here or remove the |
Given this:
Why does this work:
But this doesn't?
ds.vote >= 6
is a DataArray with dims=('pupil', ) and dtype=bool, so I can't think of any ambiguity in what I want to achieve?Workaround:
The text was updated successfully, but these errors were encountered: