issue_comments
3 rows where issue = 415209776 and user = 6164157 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- formatting of singleton DataArrays · 3 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
471136862 | https://github.com/pydata/xarray/issues/2791#issuecomment-471136862 | https://api.github.com/repos/pydata/xarray/issues/2791 | MDEyOklzc3VlQ29tbWVudDQ3MTEzNjg2Mg== | yohai 6164157 | 2019-03-09T02:14:53Z | 2019-03-09T02:15:40Z | CONTRIBUTOR | To make things concrete, the solution that I have in mind is as simple as adding this function to
Here's one use case I have encountered:
This way, if you want to vectorize a prints
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
formatting of singleton DataArrays 415209776 | |
470801183 | https://github.com/pydata/xarray/issues/2791#issuecomment-470801183 | https://api.github.com/repos/pydata/xarray/issues/2791 | MDEyOklzc3VlQ29tbWVudDQ3MDgwMTE4Mw== | yohai 6164157 | 2019-03-08T04:30:22Z | 2019-03-08T04:30:22Z | CONTRIBUTOR | I tend towards the former, to coerce singleton arrays to behave as scalars of their
@shoyer I don't see why would that be the case. If I format something as |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
formatting of singleton DataArrays 415209776 | |
469320419 | https://github.com/pydata/xarray/issues/2791#issuecomment-469320419 | https://api.github.com/repos/pydata/xarray/issues/2791 | MDEyOklzc3VlQ29tbWVudDQ2OTMyMDQxOQ== | yohai 6164157 | 2019-03-04T16:35:09Z | 2019-03-04T16:35:44Z | CONTRIBUTOR | On the one hand I agree, but note that the same behavior works for numpy arrays ```python import numpy as np a=np.array([1,2,3,4]) ' '.join('{:d}'.format(v) for v in a) prints '1 2 3 4'``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
formatting of singleton DataArrays 415209776 |
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