home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1236717180

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/6752#issuecomment-1236717180 https://api.github.com/repos/pydata/xarray/issues/6752 1236717180 IC_kwDOAMm_X85Jts58 21131639 2022-09-05T08:51:24Z 2022-09-05T08:51:24Z CONTRIBUTOR

@benbovy I also just tested the get_unique() method that you mentioned and maybe noticed a related issue here, which I'm not sure is wanted / expected.

Taking the above dataset ds, accessing this function results in an error:

```python

ds.indexes.get_unique()

TypeError: unhashable type: 'MultiIndex' ```

However, for xindexes it works: ```python

ds.xindexes.get_unique()

[<xarray.core.indexes.PandasMultiIndex at 0x7f105bf1df20>] ```

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