home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 351585455

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/1772#issuecomment-351585455 https://api.github.com/repos/pydata/xarray/issues/1772 351585455 MDEyOklzc3VlQ29tbWVudDM1MTU4NTQ1NQ== 1217238 2017-12-14T02:03:21Z 2017-12-14T02:03:21Z MEMBER

What exactly should the result of DataArray.nonzero() or Dataset.nonzero() be?

In NumPy, nonzero() returns a tuple of 1D integer arrays suitable for indexing. It's not obvious to me how that generalizes to xarray.

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