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 b87933f commit 116a8f0Copy full SHA for 116a8f0
xarray/core/utils.py
@@ -254,6 +254,7 @@ def equivalent(first: T, second: T) -> bool:
254
# In numpy 2.0+, this will raise ValueError directly, which we handle in callers
255
# Can remove this suppression when minimum numpy version >= 2.0
256
import warnings
257
+
258
with warnings.catch_warnings():
259
warnings.filterwarnings("ignore", category=DeprecationWarning)
260
return (first == second) or (pd.isnull(first) and pd.isnull(second)) # type: ignore[call-overload]
0 commit comments