home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 126779995

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-126779995 https://api.github.com/repos/pydata/xarray/issues/504 126779995 MDEyOklzc3VlQ29tbWVudDEyNjc3OTk5NQ== 5356122 2015-07-31T18:41:29Z 2015-07-31T18:41:29Z MEMBER

Agreed- if a[a < 0] = 0 works then a[a < 0] should work also.

Both R and pandas allow the user to do a[a < 0] and a[a < 0] = 0. So what I'm wondering is why not extend xray's indexing to also work on arrays that are the same shape and have the same labels as the original array?

{
    "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.698ms · About: xarray-datasette