issue_comments
3 rows where author_association = "CONTRIBUTOR", issue = 88075523 and user = 4806877 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: created_at (date), updated_at (date)
issue 1
- Tools for converting between xray.Dataset and nested dictionaries/JSON · 3 ✖
| id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 234598308 | https://github.com/pydata/xarray/issues/432#issuecomment-234598308 | https://api.github.com/repos/pydata/xarray/issues/432 | MDEyOklzc3VlQ29tbWVudDIzNDU5ODMwOA== | jsignell 4806877 | 2016-07-22T17:00:29Z | 2016-07-22T17:16:16Z | CONTRIBUTOR | Ok. That makes sense. I added a function to common and submitted a pull request: #917 |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tools for converting between xray.Dataset and nested dictionaries/JSON 88075523 | |
| 234540415 | https://github.com/pydata/xarray/issues/432#issuecomment-234540415 | https://api.github.com/repos/pydata/xarray/issues/432 | MDEyOklzc3VlQ29tbWVudDIzNDU0MDQxNQ== | jsignell 4806877 | 2016-07-22T13:14:43Z | 2016-07-22T13:14:43Z | CONTRIBUTOR | I agree. .3. Couldn't this make the ``` tolist=True d = {'coords': {}, 'attrs': dict(self.attrs), 'dims': self.dims} def func(x, tolist): if tolist: return x.tolist() return x for k in self.coords: d['coords'].update({k: {'data': func(self[k].data, tolist), 'dims': list(self[k].dims), 'attrs': dict(self[k].attrs)}}) if hasattr(self, 'data_vars'): d.update({'data_vars': {}}) for k in self.data_vars: d['data_vars'].update({k: {'data': func(self[k].data, tolist), 'dims': list(self[k].dims), 'attrs': dict(self[k].attrs)}}) else: d.update({'data': func(self.data, tolist)}) ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tools for converting between xray.Dataset and nested dictionaries/JSON 88075523 | |
| 234082452 | https://github.com/pydata/xarray/issues/432#issuecomment-234082452 | https://api.github.com/repos/pydata/xarray/issues/432 | MDEyOklzc3VlQ29tbWVudDIzNDA4MjQ1Mg== | jsignell 4806877 | 2016-07-20T21:03:33Z | 2016-07-20T21:03:33Z | CONTRIBUTOR | Is this still of interest? I was thinking it would look something like this: ``` d = {'coordinates': {}, 'variables': {}, 'attributes': {}} d['attributes'].update(dict(self.attrs)) for k in self.coords: d['coordinates'].update({k: {'data': self[k].data, 'dimensions': list(self[k].dims), 'attributes': dict(self[k].attrs)}}) if hasattr(self, 'data_vars'): for k in self.data_vars: d['variables'].update({k: {'data': self[k].data, 'dimensions': list(self[k].dims), 'attributes': dict(self[k].attrs)}}) else: d['variables'].update({'data': self.data, 'dimensions': list(self.dims), 'attributes': dict(self.attrs)}) ``` |
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
Tools for converting between xray.Dataset and nested dictionaries/JSON 88075523 |
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