home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 98250388

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
98250388 MDU6SXNzdWU5ODI1MDM4OA== 503 Add "where" method copied from pandas 1217238 closed 0     0 2015-07-30T19:57:26Z 2015-08-01T20:56:31Z 2015-08-01T20:56:31Z MEMBER      

Instead of writing: (ds * (ds > 7)).sum() / (ds > 7).sum()

It would be nice to be able to write: ds.where(ds > 7).mean()

For more examples, see: http://pandas.pydata.org/pandas-docs/stable/indexing.html#the-where-method-and-masking

This came up on the mailing list recently: https://groups.google.com/forum/#!topic/xray-dev/mEo88uGl8g8

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/503/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 3 rows from issues_id in issues_labels
  • 0 rows from issue in issue_comments
Powered by Datasette · Queries took 0.766ms · About: xarray-datasette