home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER", issue = 307224717 and user = 10050469 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: updated_at (date)

user 1

  • fmaussion · 1 ✖

issue 1

  • Unexpected decoded time in xarray >= 0.10.1 · 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
375911669 https://github.com/pydata/xarray/issues/2002#issuecomment-375911669 https://api.github.com/repos/pydata/xarray/issues/2002 MDEyOklzc3VlQ29tbWVudDM3NTkxMTY2OQ== fmaussion 10050469 2018-03-24T17:47:57Z 2018-03-24T17:47:57Z MEMBER

The problem comes from the fact that the times in the files are stored in int32. This mwe reproduces the error:

python import xarray as xr import numpy as np ds = xr.Dataset() ds['time'] = xr.DataArray([np.int32(788961600)], dims=['time']) ds['time'].attrs['units'] = 'seconds since 1981-01-01' xr.decode_cf(ds)['time']

This is due to https://github.com/pydata/xarray/pull/1414/, I'm looking into it

{
    "total_count": 2,
    "+1": 2,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Unexpected decoded time in xarray >= 0.10.1 307224717

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