home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 1412846601 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

  • jorgsk 1
  • kmuehlbauer 1

author_association 2

  • MEMBER 1
  • NONE 1

issue 1

  • open_mfdataset for merging of netCDF files with different time values · 2 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1283649453 https://github.com/pydata/xarray/issues/7180#issuecomment-1283649453 https://api.github.com/repos/pydata/xarray/issues/7180 IC_kwDOAMm_X85Mgu-t jorgsk 761677 2022-10-19T08:46:39Z 2022-10-19T08:47:22Z NONE

Thanks @kmuehlbauer! That does give me the same dataset structure as before which can go directly into my pipeline.

However, I'd like to note that the previous method offloaded more of the work to xarray through the API which made the code more clear to understand. It was more explicit since one could specify that concatenation should happen for the time-coordinate, and the post-processor was just one short operation.

If this API will be changed again in the future it's something that could be kept in mind.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  open_mfdataset for merging of netCDF files with different time values 1412846601
1282073180 https://github.com/pydata/xarray/issues/7180#issuecomment-1282073180 https://api.github.com/repos/pydata/xarray/issues/7180 IC_kwDOAMm_X85MauJc kmuehlbauer 5821660 2022-10-18T09:15:45Z 2022-10-18T09:15:45Z MEMBER

@jorgsk Doesn't assign_coords on the resulting Dataset work?

python ds = ds.assign_coords({"time": sim_time})

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  open_mfdataset for merging of netCDF files with different time values 1412846601

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