home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where author_association = "MEMBER" and issue = 29067976 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

  • shoyer 2

issue 1

  • Ensure decoding as datetime64[ns] · 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
37505097 https://github.com/pydata/xarray/pull/59#issuecomment-37505097 https://api.github.com/repos/pydata/xarray/issues/59 MDEyOklzc3VlQ29tbWVudDM3NTA1MDk3 shoyer 1217238 2014-03-13T06:58:15Z 2014-03-13T06:58:15Z MEMBER

If you're sure that 'time' is stored as pandas.DatetimeIndex (e.g., you use a standard calendar and all dates within roughly 1700-2300), you can do those comparisons with ds['time'].index, which even lets you compare to strings: ds['time'].index > '2014-01-01'. But I agree it would be nice to have a general to_datetime method like pandas. If we already wrote this functionality (and it was somewhat tricky), we might as well expose it to users.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Ensure decoding as datetime64[ns] 29067976
37434012 https://github.com/pydata/xarray/pull/59#issuecomment-37434012 https://api.github.com/repos/pydata/xarray/issues/59 MDEyOklzc3VlQ29tbWVudDM3NDM0MDEy shoyer 1217238 2014-03-12T16:58:56Z 2014-03-12T16:58:56Z MEMBER

So I think the unfortunate reality is that np.datetime64 is still our best option. Otherwise we are left with dates as Python objects, which is painfully slow.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Ensure decoding as datetime64[ns] 29067976

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