issue_comments: 140823232
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-140823232 | https://api.github.com/repos/pydata/xarray/issues/422 | 140823232 | MDEyOklzc3VlQ29tbWVudDE0MDgyMzIzMg== | 10194086 | 2015-09-16T18:02:39Z | 2015-09-16T18:02:39Z | MEMBER | Thanks - that seems to be the fastest possibility. I wrote the functions for Dataset and DataArray ``` python def average_da(self, dim=None, weights=None): """ weighted average for DataArrays
-----------------------------------------------------------------------------def average_ds(self, dim=None, weights=None): """ weighted average for Datasets
``` They can be combined to one function: ``` python def average(data, dim=None, weights=None): """ weighted average for xray objects
``` Or a monkey patch:
|
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
84127296 |