home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 211418692

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/712#issuecomment-211418692 https://api.github.com/repos/pydata/xarray/issues/712 211418692 MDEyOklzc3VlQ29tbWVudDIxMTQxODY5Mg== 1217238 2016-04-18T15:04:30Z 2016-04-18T15:04:30Z MEMBER

OK, I didn't read your first post carefully last time. Your complaint was about the order of coordinates in ds.d1 and ds.d2, not the original DataArrays. So this is a more subtle issue than I thought.

We could add some sort of ad-hoc adjustment to the order in which we display coordinates, but I'm reluctant because it's not obvious to me what that "correct" order would be. For example, that you can directly supply the coords argument as a mapping with any arbitrary order to construct a DataArray.

I suppose once principled choice would always be to display coordinates corresponding to dimensions first in lists of coordinates, and to always display them in the same order as dimensions. If we do this, it should be consistent between both DataArray and Dataset.

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