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-168516553,https://api.github.com/repos/pydata/xarray/issues/692,168516553,MDEyOklzc3VlQ29tbWVudDE2ODUxNjU1Mw==,1217238,2016-01-03T16:35:57Z,2016-01-03T16:35:57Z,MEMBER,"> Am I missing something more fundamental? You're right that this won't come up in many circumstances. It's only that, like with numpy, we try to make xray operations always generalize to multi-dimensional arrays. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,124441012 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 https://github.com/pydata/xarray/issues/692#issuecomment-168345966,https://api.github.com/repos/pydata/xarray/issues/692,168345966,MDEyOklzc3VlQ29tbWVudDE2ODM0NTk2Ng==,1217238,2016-01-01T22:53:24Z,2016-01-01T22:53:24Z,MEMBER,"Hmm. One possible fix would be adjust `Variable.transpose` so it's a complete no-op (just returning a shallow copy) for variables with `ndim < 2`. Right now, it will convert everything into a numpy or dask array to do the transpose. ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,124441012