home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 1424707135 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

  • headtr1ck 2
  • Illviljan 1

author_association 2

  • COLLABORATOR 2
  • MEMBER 1

issue 1

  • Raise TypeError if plotting empty data · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1293827546 https://github.com/pydata/xarray/pull/7228#issuecomment-1293827546 https://api.github.com/repos/pydata/xarray/issues/7228 IC_kwDOAMm_X85NHj3a headtr1ck 43316012 2022-10-27T17:10:04Z 2022-10-27T17:10:04Z COLLABORATOR

I think we should remove it eventually. In #7174 ndims > 2 is allowed as we just stack the extra dimensions.

Ok, then lets leave it for now and remove it with #7174

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Raise TypeError if plotting empty data 1424707135
1293010518 https://github.com/pydata/xarray/pull/7228#issuecomment-1293010518 https://api.github.com/repos/pydata/xarray/issues/7228 IC_kwDOAMm_X85NEcZW Illviljan 14371165 2022-10-27T05:20:08Z 2022-10-27T05:20:08Z MEMBER

Should we change the error for ndims > 2 to a TypeError as well? That would be a breaking change (I don't think it would affect many people though...)

I think we should remove it eventually. In #7174 ndims > 2 is allowed as we just stack the extra dimensions.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Raise TypeError if plotting empty data 1424707135
1292687484 https://github.com/pydata/xarray/pull/7228#issuecomment-1292687484 https://api.github.com/repos/pydata/xarray/issues/7228 IC_kwDOAMm_X85NDNh8 headtr1ck 43316012 2022-10-26T21:44:39Z 2022-10-26T21:55:07Z COLLABORATOR

In the line plot we now have: python if ndims == 0 or darray.size == 0: # TypeError to be consistent with pandas raise TypeError("No numeric data to plot.") if ndims > 2: raise ValueError( "Line plots are for 1- or 2-dimensional DataArrays. " "Passed DataArray has {ndims} " "dimensions".format(ndims=ndims) ) which looks just wrong, haha.

See https://github.com/pydata/xarray/issues/7156#issuecomment-1277103850

Should we change the error for ndims > 2 to a TypeError as well? That would be a breaking change (I don't think it would affect many people though...)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Raise TypeError if plotting empty data 1424707135

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