issue_comments
4 rows where author_association = "MEMBER", issue = 84127296 and user = 10194086 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- add average function · 4 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 218413377 | https://github.com/pydata/xarray/issues/422#issuecomment-218413377 | https://api.github.com/repos/pydata/xarray/issues/422 | MDEyOklzc3VlQ29tbWVudDIxODQxMzM3Nw== | mathause 10194086 | 2016-05-11T09:51:29Z | 2016-05-11T09:51:29Z | MEMBER | Do we want
or
|
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
add average function 84127296 | |
| 218403213 | https://github.com/pydata/xarray/issues/422#issuecomment-218403213 | https://api.github.com/repos/pydata/xarray/issues/422 | MDEyOklzc3VlQ29tbWVudDIxODQwMzIxMw== | mathause 10194086 | 2016-05-11T09:06:49Z | 2016-05-11T09:07:24Z | MEMBER | Sounds like a clean solution. Then we can defer handling of NaN in the weights to We may still end up implementing all required methods separately in
i.e. we use
However, I think this can not be generalized to a Additionally, |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
add average function 84127296 | |
| 140823232 | https://github.com/pydata/xarray/issues/422#issuecomment-140823232 | https://api.github.com/repos/pydata/xarray/issues/422 | MDEyOklzc3VlQ29tbWVudDE0MDgyMzIzMg== | mathause 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
} |
add average function 84127296 | |
| 140794893 | https://github.com/pydata/xarray/issues/422#issuecomment-140794893 | https://api.github.com/repos/pydata/xarray/issues/422 | MDEyOklzc3VlQ29tbWVudDE0MDc5NDg5Mw== | mathause 10194086 | 2015-09-16T16:29:22Z | 2015-09-16T16:29:32Z | MEMBER | This is has to be adjusted if there are Is there a better way to get the correct weights than:
It should probably not be used on a Dataset as every DataArray may have its own |
{
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
add average function 84127296 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] (
[html_url] TEXT,
[issue_url] TEXT,
[id] INTEGER PRIMARY KEY,
[node_id] TEXT,
[user] INTEGER REFERENCES [users]([id]),
[created_at] TEXT,
[updated_at] TEXT,
[author_association] TEXT,
[body] TEXT,
[reactions] TEXT,
[performed_via_github_app] TEXT,
[issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
ON [issue_comments] ([user]);
user 1