issue_comments
3 rows where author_association = "NONE" and issue = 29136905 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- Implement DataArray.idxmax() · 3 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 532354509 | https://github.com/pydata/xarray/issues/60#issuecomment-532354509 | https://api.github.com/repos/pydata/xarray/issues/60 | MDEyOklzc3VlQ29tbWVudDUzMjM1NDUwOQ== | joemcglinchy 4762214 | 2019-09-17T18:54:40Z | 2019-09-17T18:54:40Z | NONE | I got around this with some (masked) numpy operations. perhaps it is useful? I was seeing the ``` test_arr is some array with some nodata value, and is of dims [channels, rows, columns]nodata = -32768 ma = np.ma.masked_equal(test_arr, nodata) use np.any to get a mask of rows/columns which have all masked entriesspec_axis = 0 all_na_mask = np.any(ma, axis=spec_axis) get the argmax across specified axisargm = np.argmax(test_arr, axis=spec_axis) argm = np.ma.masked_less(argm, -np.inf) argm.mask = ~all_na_mask ``` big piece here is modifying the mask directly and making sure that is correct. numpy docs advise against this approach but it seems to be giving me what I want. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Implement DataArray.idxmax() 29136905 | |
| 527576309 | https://github.com/pydata/xarray/issues/60#issuecomment-527576309 | https://api.github.com/repos/pydata/xarray/issues/60 | MDEyOklzc3VlQ29tbWVudDUyNzU3NjMwOQ== | HiperMaximus 45774781 | 2019-09-03T18:15:10Z | 2019-09-03T18:15:10Z | NONE | this is still very relevant |
{
"total_count": 1,
"+1": 0,
"-1": 0,
"laugh": 1,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Implement DataArray.idxmax() 29136905 | |
| 457052566 | https://github.com/pydata/xarray/issues/60#issuecomment-457052566 | https://api.github.com/repos/pydata/xarray/issues/60 | MDEyOklzc3VlQ29tbWVudDQ1NzA1MjU2Ng== | stale[bot] 26384082 | 2019-01-24T03:22:02Z | 2019-01-24T03:22:02Z | NONE | In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity If this issue remains relevant, please comment here; otherwise it will be marked as closed automatically |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Implement DataArray.idxmax() 29136905 |
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 3