home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 344021451

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/1627#issuecomment-344021451 https://api.github.com/repos/pydata/xarray/issues/1627 344021451 MDEyOklzc3VlQ29tbWVudDM0NDAyMTQ1MQ== 4160723 2017-11-13T18:59:28Z 2017-11-13T18:59:28Z MEMBER

So we have different options regarding the tools to use for implementing these rich representations:

  • Using vdom. This option is very pythonic and is suggested by jupyterlab and nteract developers. I have used vdom to implement the rich repr of Dataset (not fully working yet + you need last jupyterlab or nteract to see it): https://gist.github.com/benbovy/a30f286f7fdf9528c4d0c7980be9b6a7. vdom is still in development, though. It is not yet supported by all front-ends. Currently it is supported in jupyterlab and nteract and support will be added soon for the classic notebook (and nbviewer?)

  • Using a template system like jinja2. It doesn't require any specific support on the various notebook front-ends, but it still adds a dependency.

  • Using Python strings formatting. No dependencies, but more tough to maintain.

I'd like to know what are your thoughts. Should we go with vdom and wait a bit until the tool is more mature / more front-ends are supported (hopefully soon, which let us some time if we can wait for release v0.11)? Or do you want it right now and so it's perhaps better to use templates / formatting?

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