home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 535475540

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/3343#issuecomment-535475540 https://api.github.com/repos/pydata/xarray/issues/3343 535475540 MDEyOklzc3VlQ29tbWVudDUzNTQ3NTU0MA== 35968931 2019-09-26T12:15:44Z 2019-09-26T12:15:44Z MEMBER

This is an example of a general UI problem which I was actually about to raise an issue about.

There are loads of places in xarray's API which require a dimension, but the operation would make just as much sense if a 1D coordinate were supplied instead (as that uniquely specifies a dimension).

I encountered the same kind of problem in #3334 with da.transpose().

I wonder if it would be possible to have a little helper function process the dim input to these functions and if it's a 1D coord, just demote it to the corresponding dim.

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