home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1514925779

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/7767#issuecomment-1514925779 https://api.github.com/repos/pydata/xarray/issues/7767 1514925779 IC_kwDOAMm_X85aS-7T 35968931 2023-04-19T15:20:11Z 2023-04-19T15:20:31Z MEMBER

So while xr.where(cond, x, y) is semantically, "where condition is true, x, else y", da.where(cond, x) is "where condition is true da, else x".

Adding this description to both docstrings would be a helpful clarification IMO.

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