home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 788532882

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/3390#issuecomment-788532882 https://api.github.com/repos/pydata/xarray/issues/3390 788532882 MDEyOklzc3VlQ29tbWVudDc4ODUzMjg4Mg== 1217238 2021-03-02T02:42:37Z 2021-03-02T02:42:37Z MEMBER

Shall we raise a warning in where advising the more-efficient syntax? Or shall we skip the call to where_method

I'm not sure that either of these is a good idea.

The problem with raising a warning is that this is well-defined behavior. It may not always be useful, but well defined but useless behavior arises all the time in programs, so it's annoying to raise a warning for a special case.

The problem with skipping where_method is that now we end up with a potentially inconsistent dtype, depending on the selection. These sort of special cases can be quite frustrating to program around.

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