home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 1340034181

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/7362#issuecomment-1340034181 https://api.github.com/repos/pydata/xarray/issues/7362 1340034181 IC_kwDOAMm_X85P30yF 38434768 2022-12-06T21:29:37Z 2022-12-06T21:29:37Z NONE

@dcherian That's a fair point. The function we wrote is supposed to support numpy and xarray input, and previously it was easier to use xr.where() for both cases instead of checking for input type repeatedly.

I just walked through my debugger with one of my failing tests and yes, it does appear that apply_ufunc is returning numpy output for all numpy input.

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