home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 391909283

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/2183#issuecomment-391909283 https://api.github.com/repos/pydata/xarray/issues/2183 391909283 MDEyOklzc3VlQ29tbWVudDM5MTkwOTI4Mw== 6815844 2018-05-25T00:54:31Z 2018-05-25T00:54:31Z MEMBER

Thanks for the report. I agree this is somehow unintuitive, but it is an intended behavior. The reason is that np.nan is float.

Similar with your example python In [7]: test_ds.where(test_ds['var2'] == 2)['var1'] Out[7]: <xarray.DataArray 'var1' (dim_0: 5)> array([nan, nan, nan, nan, nan]) Dimensions without coordinates: dim_0 where nan is used to indicate where the condition is not satified.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  326344778
Powered by Datasette · Queries took 1.077ms · About: xarray-datasette