home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1194808796

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/6826#issuecomment-1194808796 https://api.github.com/repos/pydata/xarray/issues/6826 1194808796 IC_kwDOAMm_X85HN1Xc 5635139 2022-07-26T00:20:08Z 2022-07-26T00:20:08Z MEMBER

The difference is that one has a name of 0:

```python

In [7]: da.sel(x=0) Out[7]: <xarray.DataArray (y: 2)> array([1, 2]) Dimensions without coordinates: y

In [8]: da.to_dataset(dim='x')[0] Out[8]: <xarray.DataArray 0 (y: 2)> array([1, 2]) Dimensions without coordinates: y

In [9]: da.to_dataset(dim='x')[0].name Out[9]: 0

```

This shouldn't prevent the plotting from working — that is indeed a bug....

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