home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 546303413 and user = 2448579 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 1

  • dcherian · 3 ✖

issue 1

  • Raise nice error when attempting to concatenate CFTimeIndex & DatetimeIndex · 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
571691258 https://github.com/pydata/xarray/issues/3666#issuecomment-571691258 https://api.github.com/repos/pydata/xarray/issues/3666 MDEyOklzc3VlQ29tbWVudDU3MTY5MTI1OA== dcherian 2448579 2020-01-07T17:35:51Z 2020-01-07T17:36:03Z MEMBER

@tlogan specifying use_cftime as True or False in the open_dataset call might be useful.

This suggests that the RecursionError in @keewis example is a result of trying to concatenate datasets with mixed DatetimeIndex & CFTimeIndex indexes. In [18]: files = glob.glob("*.nc") ...: datasets = [xr.open_dataset(file) for file in files] ...: xr.concat(datasets, dim="new_dim") RecursionError

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Raise nice error when attempting to concatenate CFTimeIndex & DatetimeIndex 546303413
571665270 https://github.com/pydata/xarray/issues/3666#issuecomment-571665270 https://api.github.com/repos/pydata/xarray/issues/3666 MDEyOklzc3VlQ29tbWVudDU3MTY2NTI3MA== dcherian 2448579 2020-01-07T16:33:06Z 2020-01-07T16:33:06Z MEMBER

I'm guessing decode_times=False will fix that bit.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Raise nice error when attempting to concatenate CFTimeIndex & DatetimeIndex 546303413
571639751 https://github.com/pydata/xarray/issues/3666#issuecomment-571639751 https://api.github.com/repos/pydata/xarray/issues/3666 MDEyOklzc3VlQ29tbWVudDU3MTYzOTc1MQ== dcherian 2448579 2020-01-07T15:38:28Z 2020-01-07T15:38:28Z MEMBER

Thanks @tlogan2000.

Can you reduce this example to just a xarray.concat call?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Raise nice error when attempting to concatenate CFTimeIndex & DatetimeIndex 546303413

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 126.476ms · About: xarray-datasette
  • Sort ascending
  • Sort descending
  • Facet by this
  • Hide this column
  • Show all columns
  • Show not-blank rows