home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 478538543

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/2861#issuecomment-478538543 https://api.github.com/repos/pydata/xarray/issues/2861 478538543 MDEyOklzc3VlQ29tbWVudDQ3ODUzODU0Mw== 10050469 2019-04-01T11:17:46Z 2019-04-01T11:19:28Z MEMBER

xarray is "coordinate aware", i.e. it will try hard to prevent users doing bad things with non matching coordinates (yes, the fact that your ref and proof are "not entirely consistent somehow regarding coordinates" looks like you are doing bad things ;-).

If I understand what you want, this should do the trick:

python proof["WSS"].where(ref["WSS"].notnull().data) # use .data here to get back to numpy

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