home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 545197414

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/3432#issuecomment-545197414 https://api.github.com/repos/pydata/xarray/issues/3432 545197414 MDEyOklzc3VlQ29tbWVudDU0NTE5NzQxNA== 1217238 2019-10-22T23:24:45Z 2019-10-22T23:24:45Z MEMBER

I think the right long-term solution for xarray is to always store separate Variable objects for MultiIndex levels, and only use the MultiIndex for proper indexing. When you index out a single value, the MultiIndex will naturally disappear and you'll be left with a bunch of scalar coordinates, without any special case logic to handle the MultiIndex.

This looks like @crusaderky's third option.

We'll need to finish up the big "explicit indexes" refactor first to make this viable.

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