home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 191303962

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/767#issuecomment-191303962 https://api.github.com/repos/pydata/xarray/issues/767 191303962 MDEyOklzc3VlQ29tbWVudDE5MTMwMzk2Mg== 4160723 2016-03-02T16:05:31Z 2016-03-02T16:05:31Z MEMBER

OK, I've read more carefully the discussion you referred to, and now I understand why it is preferable to call dropna explicitely. My last suggestion above is not compatible with this.

The xs method (not sure about the name) may still provide a concise way to perform a selection with explicit unstack and dropna. Maybe it is more appropriate to use dropna instead of drop_level:

python da.xs('bar', dim='band_wavenumber', level='band', dropna=True)

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