home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 303246075

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/1420#issuecomment-303246075 https://api.github.com/repos/pydata/xarray/issues/1420 303246075 MDEyOklzc3VlQ29tbWVudDMwMzI0NjA3NQ== 1217238 2017-05-22T23:20:09Z 2017-05-22T23:20:09Z MEMBER

Why is this point coordinate attached to every other coordinate then? In other words, why would da.coords['x'] contain some_attr as well?

The rule we currently use to propagate coordinates is to keep all other coordinates whose dimensions are contained in the dimensions of the coordinate, i.e., coordinates are presumed to describe not only the data-array, but an entire shared coordinate system. This is the same rule we use for choosing which coordinates to put on a DataArray when indexing a Dataset.

I'm certainly open to alternatives if we can find a simple way to express this.

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