html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/861#issuecomment-221737294,https://api.github.com/repos/pydata/xarray/issues/861,221737294,MDEyOklzc3VlQ29tbWVudDIyMTczNzI5NA==,1217238,2016-05-25T23:26:50Z,2016-05-25T23:26:50Z,MEMBER,"@maciekswat This is your PR, yes? https://github.com/pydata/xarray/pull/837
we are almost ready to merge -- just a few quick changes needed.
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,156857895
https://github.com/pydata/xarray/issues/861#issuecomment-221732500,https://api.github.com/repos/pydata/xarray/issues/861,221732500,MDEyOklzc3VlQ29tbWVudDIyMTczMjUwMA==,5635139,2016-05-25T22:57:41Z,2016-05-25T22:57:41Z,MEMBER,"Nice catch.
Or wrap `isnull` so it works throughout the code base? This is the function from pandas:
``` python
In [19]: from pandas.core.common import _isnull
In [20]: _isnull??
Signature: _isnull(obj)
Source:
def _isnull_new(obj):
if lib.isscalar(obj):
return lib.checknull(obj)
# hack (for now) because MI registers as ndarray
elif isinstance(obj, pd.MultiIndex):
raise NotImplementedError(""isnull is not defined for MultiIndex"")
elif isinstance(obj, (gt.ABCSeries, np.ndarray, pd.Index)):
return _isnull_ndarraylike(obj)
elif isinstance(obj, gt.ABCGeneric):
return obj._constructor(obj._data.isnull(func=isnull))
elif isinstance(obj, list) or hasattr(obj, '__array__'):
return _isnull_ndarraylike(np.asarray(obj))
else:
return obj is None
File: ~/drive/workspace/pandas3/pandas/core/common.py
Type: function
```
","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,156857895