home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 126772960

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/504#issuecomment-126772960 https://api.github.com/repos/pydata/xarray/issues/504 126772960 MDEyOklzc3VlQ29tbWVudDEyNjc3Mjk2MA== 1217238 2015-07-31T18:05:22Z 2015-07-31T18:10:59Z MEMBER

Right now, you can do that by chaining two operations: a.where(a > 0).fillna(0). It would definitely be better to support it in one (a.where(a > 0, 0)).

I suppose we could also support a[a < 0] = 0, but it seems a little strange given that we don't support a[a < 0].

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