home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 301218692

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/1408#issuecomment-301218692 https://api.github.com/repos/pydata/xarray/issues/1408 301218692 MDEyOklzc3VlQ29tbWVudDMwMTIxODY5Mg== 1217238 2017-05-13T02:02:38Z 2017-05-13T02:02:38Z MEMBER

No, I don't think this was intentional/desired, though it might be slightly tricky to fix this with the current code structure.

@benbovy any thoughts?

For reference: ```python In [4]: ds Out[4]: <xarray.Dataset> Dimensions: (yx: 6) Coordinates: * yx (yx) MultiIndex - y (yx) object 'a' 'a' 'a' 'b' 'b' 'b' - x (yx) int64 1 2 3 1 2 3 Data variables: foo (yx) int64 1 2 3 4 5 6

In [5]: ds.sel(x=2) Out[5]: <xarray.Dataset> Dimensions: (y: 2) Coordinates: * y (y) object 'a' 'b' Data variables: foo (y) int64 2 5 ```

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