home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 451771539

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/2656#issuecomment-451771539 https://api.github.com/repos/pydata/xarray/issues/2656 451771539 MDEyOklzc3VlQ29tbWVudDQ1MTc3MTUzOQ== 1217238 2019-01-06T20:21:23Z 2019-01-06T20:21:23Z MEMBER

I like the look of ds.to_dict(data=False). I'm pretty sure this topic has come up before -- there is definitely value in having a standard way to express the schema of xarray.Dataset objects.

ds.info(format='json') is another option, though a slightly weird feature of ds.info() is that it writes to a buffer rather than returning an object. This is because otherwise you get quotes for a string around the result when you type this at the command line.

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