home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 708167473

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/4501#issuecomment-708167473 https://api.github.com/repos/pydata/xarray/issues/4501 708167473 MDEyOklzc3VlQ29tbWVudDcwODE2NzQ3Mw== 1217238 2020-10-14T05:33:59Z 2020-10-14T05:33:59Z MEMBER

What I think would be more useful:

<xarray.DataArray (x: 5)> array([0., 0., 0., 0., 0.]) Coordinates: y int64 42 e (y) int64 10 <---- Note the (y) Dimensions without coordinates: x

Thanks for clarifying!

One problem with this -- at least for now -- is that xarray currently doesn't allow coordinates on DataArray objects to have dimensions that don't appear on the DataArray itself.

It might also be surprising that this would make squeeze('y') inconsistent with isel(y=0)

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