home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 842678176

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/5326#issuecomment-842678176 https://api.github.com/repos/pydata/xarray/issues/5326 842678176 MDEyOklzc3VlQ29tbWVudDg0MjY3ODE3Ng== 20629530 2021-05-17T22:17:23Z 2021-05-17T22:17:23Z CONTRIBUTOR

Haha, sorry, I didn't explain this properly.

This MWE is just MWE. The use case I have of map_blocks is in a decorator. At the moment I write the map_blocks call, I do not know if func will transpose the result or not. In my case, the template is generated from a list of dimensions to reduce and new dimensions.

I realize this might be an edge case that is too narrow to merit a fix. I expected dimension order not to matter, as it is the case in most of xarray. Right now, my code wraps func in a another function that performs this tranpose when needed.

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