home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 675186695

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/4324#issuecomment-675186695 https://api.github.com/repos/pydata/xarray/issues/4324 675186695 MDEyOklzc3VlQ29tbWVudDY3NTE4NjY5NQ== 14808389 2020-08-18T00:49:10Z 2020-08-18T00:49:10Z MEMBER

I'll add a few ideas, too:

  • we could also add a format parameter to _repr_inline_ that if True requires the implementers to return a list of types (prepending type(self)) and a dictionary containing the metadata. xarray could then use those to construct the repr proposed in dask/dask#5329 (I guess that only works for the expanded view, though, because the collapsed view doesn't have that much horizontal space).

  • other than that, we could have the implementers delegate to the data's _repr_inline_ (falling back to the normal repr) and prepend their own metadata.

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