home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "CONTRIBUTOR", issue = 360420464 and user = 12237157 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

  • aaronspring · 3 ✖

issue 1

  • Indicate calendar type in CFTimeIndex repr · 3 ✖

author_association 1

  • CONTRIBUTOR · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
730427143 https://github.com/pydata/xarray/issues/2416#issuecomment-730427143 https://api.github.com/repos/pydata/xarray/issues/2416 MDEyOklzc3VlQ29tbWVudDczMDQyNzE0Mw== aaronspring 12237157 2020-11-19T14:53:08Z 2020-11-19T14:53:08Z CONTRIBUTOR

using this feature now alot. @spencerkclark what about implementing also freq into the CFTimeIndex repr?

Its hard to see the frequency by eye sometimes, I would just rely on xr.infer_freq and add to the repr str, also if freq is None/indistinguishable

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Indicate calendar type in CFTimeIndex repr 360420464
598193427 https://github.com/pydata/xarray/issues/2416#issuecomment-598193427 https://api.github.com/repos/pydata/xarray/issues/2416 MDEyOklzc3VlQ29tbWVudDU5ODE5MzQyNw== aaronspring 12237157 2020-03-12T13:44:45Z 2020-03-12T13:44:45Z CONTRIBUTOR

would this be a starting point: https://github.com/pydata/xarray/blob/603b0ad3f8a02a9e1180eb8dfc72f7f885f0e19a/xarray/core/variable.py#L2222 ? but I dont see where calendar is coming from.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Indicate calendar type in CFTimeIndex repr 360420464
598191749 https://github.com/pydata/xarray/issues/2416#issuecomment-598191749 https://api.github.com/repos/pydata/xarray/issues/2416 MDEyOklzc3VlQ29tbWVudDU5ODE5MTc0OQ== aaronspring 12237157 2020-03-12T13:41:13Z 2020-03-12T13:41:13Z CONTRIBUTOR

such a calendar attribute would be nice. Didnt find a workaround. My goal is to get a str for calendar type from ds:

Once implemented, this could then be accessed via ds.time.to_index().calendar. with some help where to start I would go for this.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Indicate calendar type in CFTimeIndex repr 360420464

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