home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 592665711

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/3810#issuecomment-592665711 https://api.github.com/repos/pydata/xarray/issues/3810 592665711 MDEyOklzc3VlQ29tbWVudDU5MjY2NTcxMQ== 5635139 2020-02-28T18:34:44Z 2020-02-28T18:34:44Z MEMBER

Yes, we can always reshape as a way of running numerical operations over multiple dimensions. But reshaping can be an expensive operation, so doing it as part of a numerical operation can cause surprises. (if you're interested, try running a sum over multiple dimensions and comparing to a reshape + a sum over the single reshaped dimension).

Instead, users can do this themselves, giving them context and control.

Reshaping is OK to do in groupby though (I think), so adding rank to groupby would be one way of accomplishing this.

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