home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 168354211

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/692#issuecomment-168354211 https://api.github.com/repos/pydata/xarray/issues/692 168354211 MDEyOklzc3VlQ29tbWVudDE2ODM1NDIxMQ== 1217238 2016-01-02T01:11:13Z 2016-01-02T01:11:37Z MEMBER

The challenge is that the pandas Index has a much smaller API than numpy/dask.array. For example, it doesn't have a transpose method that accepts an axis argument. As another example, there's no equivalent of numpy.stack that would expand the contents of an Index to multiple dimensions. So we're pretty much stuck converting to numpy for these sort of situations.

I'm all for preserving indexes (including all their quirks) in situations where it's possible. And in other cases, we should fall back to numpy arrays with dtype=object holding appropriate scalars.

As for this particular issue, have you tested this after the changes in https://github.com/xray/xray/pull/691? I actually can't reproduce this issue on master.

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