-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix Dataset/DataArray.isel with drop=True and scalar DataArray indexes #6579
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
Changes from all commits
64af067
aad8dd3
05452e2
4f0669b
6dae493
39781cf
ffdbc3f
61fa9ed
f3d3849
c83f424
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from __future__ import annotations | ||
|
||
from typing import TYPE_CHECKING, TypeVar, Union | ||
from typing import TYPE_CHECKING, Literal, TypeVar, Union | ||
|
||
import numpy as np | ||
|
||
|
@@ -33,3 +33,6 @@ | |
DaCompatible = Union["DataArray", "Variable", "DataArrayGroupBy", "ScalarOrArray"] | ||
VarCompatible = Union["Variable", "ScalarOrArray"] | ||
GroupByIncompatible = Union["Variable", "GroupBy"] | ||
|
||
ErrorChoice = Literal["raise", "ignore"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Great! We could find / replace for these at some point There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Even though it is scope creep, I have typed any occurences that I have found in this PR. |
||
ErrorChoiceWithWarn = Literal["raise", "warn", "ignore"] |
Uh oh!
There was an error while loading. Please reload this page.