issue_comments
1 row where author_association = "NONE", issue = 309691307 and user = 5347026 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- slice using non-index coordinates · 1 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
1146877847 | https://github.com/pydata/xarray/issues/2028#issuecomment-1146877847 | https://api.github.com/repos/pydata/xarray/issues/2028 | IC_kwDOAMm_X85EW_eX | ivanakcheurov 5347026 | 2022-06-05T20:24:20Z | 2022-06-05T20:24:20Z | NONE |
@max-sixty , perhaps there is any update on OPs question or maybe you can help to achieve the following?
I would like sel based on a non-dim coordinate(using this coordinate directly .sel(product_id=26) would result in error "'no index found for coordinate product_id")%timeit xds.sel(product=xds.product_id==26) 1.54 ms ± 64.2 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) sel based on the dim itself%timeit xds.sel(product='GN91 Glove Medium') 499 µs ± 16.1 µs per loop (mean ± std. dev. of 7 runs, 1000 loops each) %timeit xds.where(xds.product_id==26, drop=True) 4.17 ms ± 39 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) ``` Anyways, xarray is brilliant and made my week :) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
slice using non-index coordinates 309691307 |
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