issue_comments
2 rows where issue = 115979105 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- ENH: Apply numpy function to named axes · 2 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 155470414 | https://github.com/pydata/xarray/issues/652#issuecomment-155470414 | https://api.github.com/repos/pydata/xarray/issues/652 | MDEyOklzc3VlQ29tbWVudDE1NTQ3MDQxNA== | max-sixty 5635139 | 2015-11-10T16:18:24Z | 2015-11-10T16:18:24Z | MEMBER | Wonderful, thanks @shoyer. FWIW, I also found Closing for now, cheers. |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
ENH: Apply numpy function to named axes 115979105 | |
| 155293177 | https://github.com/pydata/xarray/issues/652#issuecomment-155293177 | https://api.github.com/repos/pydata/xarray/issues/652 | MDEyOklzc3VlQ29tbWVudDE1NTI5MzE3Nw== | shoyer 1217238 | 2015-11-10T05:08:05Z | 2015-11-10T05:08:05Z | MEMBER | Yes, use the ``` In [5]: data_array = xray.DataArray(np.random.randn(3, 4, 5), dims=['x', 'y', 'z']) In [14]: data_array.reduce(np.nanpercentile, q=95, dim=['x', 'y']) Out[14]: <xray.DataArray (z: 5)> array([ 1.79306097, 0.9788271 , 0.9385694 , 1.30198262, 1.78693993]) Coordinates: * z (z) int64 0 1 2 3 4 ``` To apply an operation along an axis that doesn't do an aggregation, you can use the ``` In [27]: xray.DataArray(np.argsort(data_array, axis=data_array.get_axis_num('x')), data_array.coords) Out[27]: <xray.DataArray (x: 3, y: 4, z: 5)> array([[[2, 1, 1, 2, 0], [0, 2, 2, 1, 0], [1, 1, 2, 1, 0], [2, 0, 0, 0, 0]],
Coordinates: * x (x) int64 0 1 2 * y (y) int64 0 1 2 3 * z (z) int64 0 1 2 3 4 ``` We don't currently have a convenience method for the later but that might be good idea. I'm not entirely sure if it should be called |
{
"total_count": 1,
"+1": 1,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
ENH: Apply numpy function to named axes 115979105 |
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 2