issue_comments: 234082452
This data as json
| html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
|---|---|---|---|---|---|---|---|---|---|---|---|
| https://github.com/pydata/xarray/issues/432#issuecomment-234082452 | https://api.github.com/repos/pydata/xarray/issues/432 | 234082452 | MDEyOklzc3VlQ29tbWVudDIzNDA4MjQ1Mg== | 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
} |
88075523 |