home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 708561579

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-708561579 https://api.github.com/repos/pydata/xarray/issues/4501 708561579 MDEyOklzc3VlQ29tbWVudDcwODU2MTU3OQ== 1053153 2020-10-14T17:51:15Z 2020-10-14T17:51:15Z CONTRIBUTOR

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.

Ah, then that would be the desire here.

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

The suggestion here is that both of these would behave the same. The MCVE was just for the squeeze case, but I expect that isel and sel would both allow non-dim coords to maintain the reference to their original dim (even if it becomes a non-dim coord itself).

{
    "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 0.731ms · About: xarray-datasette