home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 467667604

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/pull/2777#issuecomment-467667604 https://api.github.com/repos/pydata/xarray/issues/2777 467667604 MDEyOklzc3VlQ29tbWVudDQ2NzY2NzYwNA== 12229877 2019-02-27T00:07:34Z 2019-02-27T00:07:34Z CONTRIBUTOR

maybe you have a syntax error?

...yep, an unmatched paren. 😥

If a and b have the same name, then you'd get an index with the two duplicate entries in the second case but not the first case. [which would be bad]

I think it's impossible to avoid this when using inference in the general case. Two options I think would be decent-if-unsatisfying:

  1. Explicitly manage this in the new combining functions, e.g. clear the concat dim coords if they are not unique and the input arrays did not have coords in that dimension.
  2. Add an argument to xr.concat to enable or disable this, e.g. infer_coords=True, and disable it when calling xr.concat from other combining functions.
{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  411755105
Powered by Datasette · Queries took 1.868ms · About: xarray-datasette