home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 751895498

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/pull/4687#issuecomment-751895498 https://api.github.com/repos/pydata/xarray/issues/4687 751895498 MDEyOklzc3VlQ29tbWVudDc1MTg5NTQ5OA== 14808389 2020-12-28T23:30:53Z 2020-12-28T23:30:53Z MEMBER

I would think the closest match is to return from x — that's the equivalent of x.where(cond, other=y?

I'm not sure how to implement that: I can get there by replacing duck_array_ops.where with duck_array_ops.where_method, but that yields a different dimension order after broadcasting (for the doctest examples ["y", "x"] instead of ["x", "y"]). This might not be that much of an issue since we generally tell people to use transpose before applying a function that depends on the order, though.

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