home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 482907774

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/2891#issuecomment-482907774 https://api.github.com/repos/pydata/xarray/issues/2891 482907774 MDEyOklzc3VlQ29tbWVudDQ4MjkwNzc3NA== 6355796 2019-04-14T00:43:35Z 2019-04-14T00:43:35Z NONE

Thank you @shoyer for taking the time to educate me on this. I understand completely now.

I agree that solutions one and two would be helpful for future developers new to Xarray and the expand_dims operation when they eventually encounter this behaviour. I also agree that option three would be confusing, and had it of been implemented as such I would still have found myself to be asking a similar question about why it is like that.

Another option to consider which might be easier still would be to just update the expand_dims documentation to include a note about this behaviour and the copy solution.

Thanks again!

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