issue_comments
2 rows where issue = 585323675 and user = 14808389 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Explanation of full DataFrame to Dataset translation · 2 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
601948472 | https://github.com/pydata/xarray/issues/3873#issuecomment-601948472 | https://api.github.com/repos/pydata/xarray/issues/3873 | MDEyOklzc3VlQ29tbWVudDYwMTk0ODQ3Mg== | keewis 14808389 | 2020-03-20T23:12:11Z | 2020-03-20T23:13:25Z | MEMBER | I agree, we should add something like that to the documentation. I just have been trying to do the same with pure xarray, but didn't find a way to do so without falling back to either numpy or pandas or doing something really complicated (I didn't figure out how to use In [151]: reshaped = ( ...: ds.set_index(coordinates=["lat", "lon"]) ...: .unstack() ...: .stack(coordinates=["lat", "lon"]) ...: .coordinates ...: .unstack() ...: .where(False) ...: ) ...: reshaped Out[151]: <xarray.DataArray 'coordinates' (lat: 10, lon: 10)> array([[nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan], [nan, nan, nan, nan, nan, nan, nan, nan, nan, nan]], dtype=object) Coordinates: * lat (lat) float64 -90.0 -70.0 -50.0 -30.0 -10.0 ... 30.0 50.0 70.0 90.0 * lon (lon) float64 0.0 40.0 80.0 120.0 160.0 ... 240.0 280.0 320.0 360.0 ``` which is not something we would want to put into a documentation |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Explanation of full DataFrame to Dataset translation 585323675 | |
601927475 | https://github.com/pydata/xarray/issues/3873#issuecomment-601927475 | https://api.github.com/repos/pydata/xarray/issues/3873 | MDEyOklzc3VlQ29tbWVudDYwMTkyNzQ3NQ== | keewis 14808389 | 2020-03-20T21:57:21Z | 2020-03-20T21:57:21Z | MEMBER | to answer your question, at least partially:
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
Explanation of full DataFrame to Dataset translation 585323675 |
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