home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER" and issue = 1120276279 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 2

  • spencerkclark 2
  • mathause 1

issue 1

  • open_mfdataset fails with cftime index when using parallel and dask delayed client · 3 ✖

author_association 1

  • MEMBER · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1026812348 https://github.com/pydata/xarray/issues/6226#issuecomment-1026812348 https://api.github.com/repos/pydata/xarray/issues/6226 IC_kwDOAMm_X849M-m8 spencerkclark 6628425 2022-02-01T12:55:34Z 2022-02-01T12:55:34Z MEMBER

Awesome, thanks @antarcticrainforest -- yes, it will always have an object dtype.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  open_mfdataset fails with cftime index when using parallel and dask delayed client 1120276279
1026701337 https://github.com/pydata/xarray/issues/6226#issuecomment-1026701337 https://api.github.com/repos/pydata/xarray/issues/6226 IC_kwDOAMm_X849MjgZ spencerkclark 6628425 2022-02-01T10:39:28Z 2022-02-01T10:39:28Z MEMBER

Thanks @antarcticrainforest -- I think that's exactly what @mathause is getting at. It seems fairly safe to add a new keyword argument to CFTimeIndex.__new__, and the example @mathause uses would make a nice test. Would either of you be up to make a PR?

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  open_mfdataset fails with cftime index when using parallel and dask delayed client 1120276279
1026641184 https://github.com/pydata/xarray/issues/6226#issuecomment-1026641184 https://api.github.com/repos/pydata/xarray/issues/6226 IC_kwDOAMm_X849MU0g mathause 10194086 2022-02-01T09:34:48Z 2022-02-01T09:34:48Z MEMBER

Smaller repro

python import xarray as xr import pickle t = xr.cftime_range("20010101", "20010520") pickle.loads(pickle.dumps(t)) Looks like pandas now passes dtype on to __new__ which CFTimeIndex.__new__ does not accept:

https://github.com/pydata/xarray/blob/fe491b14b113c185b5b9a18e4f643e5a73208629/xarray/coding/cftimeindex.py#L313

Might be pandas-dev/pandas#43188. So CFTimeIndex.__new__ might need to accept dtype? @spencerkclark

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  open_mfdataset fails with cftime index when using parallel and dask delayed client 1120276279

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