issue_comments
2 rows where issue = 564555854 and user = 8238804 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Pointwise indexing · 2 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
586078165 | https://github.com/pydata/xarray/issues/3768#issuecomment-586078165 | https://api.github.com/repos/pydata/xarray/issues/3768 | MDEyOklzc3VlQ29tbWVudDU4NjA3ODE2NQ== | ivirshup 8238804 | 2020-02-14T03:15:47Z | 2020-02-14T03:15:47Z | NONE |
For Setup```python import xarray as xr import numpy as np da = xr.DataArray( np.arange(56).reshape((7, 8)), coords={ 'x': list('abcdefg'), 'y': 10 * np.arange(8) }, dims=['x', 'y'] ) ``````python xidx = np.array([1, 2, 3]) yidx = np.array([1, 2, 3]) da.isel(x=xidx, y=yidx) <xarray.DataArray (x: 3, y: 3)>array([[ 9, 10, 11],[17, 18, 19],[25, 26, 27]])Coordinates:* x (x) <U1 'b' 'c' 'd'* y (y) int64 10 20 30da.isel(x=xr.DataArray(xidx), y=xr.DataArray(yidx)) <xarray.DataArray (dim_0: 3)>array([ 9, 18, 27])Coordinates:x (dim_0) <U1 'b' 'c' 'd'y (dim_0) int64 10 20 30Dimensions without coordinates: dim_0``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Pointwise indexing 564555854 | |
586072916 | https://github.com/pydata/xarray/issues/3768#issuecomment-586072916 | https://api.github.com/repos/pydata/xarray/issues/3768 | MDEyOklzc3VlQ29tbWVudDU4NjA3MjkxNg== | ivirshup 8238804 | 2020-02-14T02:52:34Z | 2020-02-14T02:52:34Z | NONE |
Thanks! I must have missed this, I suspect since my use was actually setting the values at some coordinates. Is there an efficient way to do that? I'd be happy to add some notes to the documentation about that. The |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Pointwise indexing 564555854 |
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