home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 644447471

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/1077#issuecomment-644447471 https://api.github.com/repos/pydata/xarray/issues/1077 644447471 MDEyOklzc3VlQ29tbWVudDY0NDQ0NzQ3MQ== 6815844 2020-06-15T23:45:27Z 2020-06-15T23:45:27Z MEMBER

@dcherian I think the problem is how to serialize MultiIndex objects rather than the array itself. In your encoded, how can we tell the MultiIndex is [('a', 1), ('b', 1), ('a', 2), ('b', 2)] or [('a', 1), ('a', 2), ('b', 1), ('b', 2)]? Maybe we need to store similar objects to landpoint for level variables, such as latpoint and lonpoint.

I think just using reset_index is simpler and easier to restore.

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