home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 251355756

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/1030#issuecomment-251355756 https://api.github.com/repos/pydata/xarray/issues/1030 251355756 MDEyOklzc3VlQ29tbWVudDI1MTM1NTc1Ng== 4160723 2016-10-04T10:48:17Z 2016-10-04T10:49:56Z MEMBER

Thanks for the tip @shoyer !

Using something like combined.set_index(spectrum=['band', 'wn']) or xr.concat(arrays, dim={'spectrum': ['band', 'wn']}) would be nice, although it may be a bit weird to use the key spectrum to rename the wn dimension here.

For now, I'm fine with setting the MultIndex using the more explicit - though more verbose - combined.set_index(wn=['band', 'wn']).rename({'wn': 'spectrum'})

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