home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 221732500

This data as json

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-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
Powered by Datasette · Queries took 0.898ms · About: xarray-datasette