home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER" and issue = 941810767 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • dcherian 1
  • max-sixty 1

issue 1

  • xarray does not seem to work with timezone aware indexes · 2 ✖

author_association 1

  • MEMBER · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
879188475 https://github.com/pydata/xarray/issues/5594#issuecomment-879188475 https://api.github.com/repos/pydata/xarray/issues/5594 MDEyOklzc3VlQ29tbWVudDg3OTE4ODQ3NQ== dcherian 2448579 2021-07-13T15:29:54Z 2021-07-13T15:29:54Z MEMBER

The resample issue is tracked in #1490. In general, (IIUC) we use numpy arrays for the data and those don't support timezones. So it's a mess (https://github.com/pydata/xarray/issues/1490#issuecomment-318183360)

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray does not seem to work with timezone aware indexes 941810767
878795873 https://github.com/pydata/xarray/issues/5594#issuecomment-878795873 https://api.github.com/repos/pydata/xarray/issues/5594 MDEyOklzc3VlQ29tbWVudDg3ODc5NTg3Mw== max-sixty 5635139 2021-07-13T05:41:51Z 2021-07-13T05:41:51Z MEMBER

I think this a problem with the repr rather than the index:

```python ...: print(data.time) <xarray.DataArray 'time' (time: 5)> array([946684800000000000, 946771200000000000, 946857600000000000, 946944000000000000, 947030400000000000], dtype=object) Coordinates: * time (time) object 946684800000000000 ... 947030400000000000

In [2]: data.indexes['time'] Out[2]: DatetimeIndex(['2000-01-01 00:00:00+00:00', '2000-01-02 00:00:00+00:00', '2000-01-03 00:00:00+00:00', '2000-01-04 00:00:00+00:00', '2000-01-05 00:00:00+00:00'], dtype='datetime64[ns, UTC]', name='time', freq='D') ```

But I wouldn't be surprised if there were issues with this sort of index — please post issues if you find them.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  xarray does not seem to work with timezone aware indexes 941810767

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 14.095ms · About: xarray-datasette