home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 330168943

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/1473#issuecomment-330168943 https://api.github.com/repos/pydata/xarray/issues/1473 330168943 MDEyOklzc3VlQ29tbWVudDMzMDE2ODk0Mw== 6815844 2017-09-18T09:27:38Z 2017-09-18T09:27:38Z MEMBER

Another case that might be confusing, ```python import numpy as np import xarray as xr

da = xr.DataArray(np.random.randn(3), dims=['x'], coords={'x': ['a', 'b', 'c']}) index_ds = xr.Dataset({}, coords={'x': [0, 1]})

this results in the coordinate confliction

da.isel(x=index_ds['x']) `` Asindex_ds['x']` has a coordinate of itself, it results in the coordinate confliction error, but it is clear that user does not want to attach it as a coordinate. I think in such a case, the indexer's coordinate should be silently dropped.

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