home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER", issue = 411365882 and user = 35968931 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 1

  • TomNicholas · 1 ✖

issue 1

  • Feature request: show units in dataset overview · 1 ✖

author_association 1

  • MEMBER · 1 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
565407674 https://github.com/pydata/xarray/issues/2773#issuecomment-565407674 https://api.github.com/repos/pydata/xarray/issues/2773 MDEyOklzc3VlQ29tbWVudDU2NTQwNzY3NA== TomNicholas 35968931 2019-12-13T11:27:26Z 2019-12-13T11:27:26Z MEMBER

I would love to see this.

What would we want the exact formatting to be? Square brackets to copy how units from attrs['units'] are displayed on plots? e.g. <xarray.Dataset> Dimensions: (time: 3, x: 988, y: 822) Coordinates: * x [m] (x) float64 ... * y [m] (y) float64 ... * time [s] (time) datetime64[ns] ... Data variables: rainfall [mm] (time, y, x) float32 ... max_temp [deg C] (time, y, x) float32 ... The lack of vertical alignment is kind of ugly...

There are now two cases to discuss: units in attrs, and unit-aware arrays like pint. (If we do the latter we may not need the former though...)

from @keewis on #3616:

At the moment, the formatting.diff_repr functions that provide the pretty-printing for assert use repr to format NEP-18 strings, truncating the result if it is too long. In the case of pint's quantities, this makes the pretty printing useless since only a few values are visible and the unit is in the truncated part.

What should we about this? Does pint have to change its repr?

We could presumably just extract the units from pint's repr to display them separately. I don't know if that raises questions about generality of duck-typing arrays though @dcherian ? Is it fine to make units a special-case?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Feature request: show units in dataset overview 411365882

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 95.941ms · About: xarray-datasette