home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 108118570

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/422#issuecomment-108118570 https://api.github.com/repos/pydata/xarray/issues/422 108118570 MDEyOklzc3VlQ29tbWVudDEwODExODU3MA== 1217238 2015-06-02T22:41:22Z 2015-06-02T22:41:22Z MEMBER

Module error checking, etc., this would look something like:

python def average(self, dim=None, weights=None): if weights is None: return self.mean(dim) else: return (self * weights).sum(dim) / weights.sum(dim)

This is pretty easy to do manually, but I can see the value in having the standard method around, so I'm definitely open to PRs to add this functionality.

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