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 ad78bac commit 31d3057Copy full SHA for 31d3057
xarray/core/duck_array_ops.py
@@ -191,7 +191,9 @@ def isnull(data):
191
dtype = xp.bool_ if hasattr(xp, "bool_") else xp.bool
192
return full_like(data, dtype=dtype, fill_value=False)
193
# at this point, array should have dtype=object
194
- elif isinstance(data, np.ndarray) or pd.api.types.is_extension_array_dtype(data): # noqa: TID251
+ elif isinstance(data, np.ndarray) or pd.api.types.is_extension_array_dtype(
195
+ data
196
+ ): # noqa: TID251
197
return pandas_isnull(data)
198
else:
199
# Not reachable yet, but intended for use with other duck array
0 commit comments