issue_comments
6 rows where issue = 88075523 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 · 6 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
239305276 | https://github.com/pydata/xarray/issues/432#issuecomment-239305276 | https://api.github.com/repos/pydata/xarray/issues/432 | MDEyOklzc3VlQ29tbWVudDIzOTMwNTI3Ng== | shoyer 1217238 | 2016-08-11T21:54:51Z | 2016-08-11T21:54:51Z | MEMBER | Fixed by #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 | |
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 | |
234584649 | https://github.com/pydata/xarray/issues/432#issuecomment-234584649 | https://api.github.com/repos/pydata/xarray/issues/432 | MDEyOklzc3VlQ29tbWVudDIzNDU4NDY0OQ== | shoyer 1217238 | 2016-07-22T16:03:23Z | 2016-07-22T16:07:20Z | MEMBER |
Which use cases for this functionality would want the numpy/dask array? If you're planning on serializing to JSON or a similar format, then you'll need to add a custom decoder/encoder to handle arrays.
Yes, we should preserve the name is possible (serialization formats are much more useful if they are not lossy). Fortunately, |
{ "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 | |
234472262 | https://github.com/pydata/xarray/issues/432#issuecomment-234472262 | https://api.github.com/repos/pydata/xarray/issues/432 | MDEyOklzc3VlQ29tbWVudDIzNDQ3MjI2Mg== | shoyer 1217238 | 2016-07-22T07:18:36Z | 2016-07-22T07:18:36Z | MEMBER | Yes, I think this is still of interest, though of course the devil is in the details.
1. Do we make this look closer to the My inclinations:
1. Mirror |
{ "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 2