We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2dfd9a commit bb61abdCopy full SHA for bb61abd
xarray/tests/test_dataset.py
@@ -21,6 +21,8 @@
21
except ImportError:
22
from numpy import RankWarning # type: ignore[no-redef,attr-defined,unused-ignore]
23
24
+from pandas.errors import UndefinedVariableError
25
+
26
import xarray as xr
27
from xarray import (
28
AlignmentError,
@@ -71,13 +73,6 @@
71
73
)
72
74
from xarray.tests.indexes import MultiCoordIndex, ScalarIndex, XYIndex
75
-try:
- from pandas.errors import UndefinedVariableError
76
-except ImportError:
77
- # TODO: remove once we stop supporting pandas<1.4.3
78
- from pandas.core.computation.ops import UndefinedVariableError
79
-
80
81
try:
82
import dask.array as da
83
0 commit comments