home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 335015485

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/pull/1528#issuecomment-335015485 https://api.github.com/repos/pydata/xarray/issues/1528 335015485 MDEyOklzc3VlQ29tbWVudDMzNTAxNTQ4NQ== 1217238 2017-10-08T15:46:36Z 2017-10-08T15:46:36Z MEMBER

For serializing attributes, the easiest fix is to call .item() on any numpy scalars (instances of np.generic) and .tolist() on any numpy arrays. For thoroughness this might be worth doing with custom JSON encoder on the zarr side, but would also be easy to do in the xarray wrapper.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  253136694
Powered by Datasette · Queries took 0.809ms · About: xarray-datasette