home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where issue = 1116697033 and user = 13301940 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

  • andersy005 · 1 ✖

issue 1

  • [Bug]: coords: a list or dictionary of coordinates. , but dictionary is outdated · 1 ✖

author_association 1

  • MEMBER 1
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1023887027 https://github.com/pydata/xarray/issues/6202#issuecomment-1023887027 https://api.github.com/repos/pydata/xarray/issues/6202 IC_kwDOAMm_X849B0az andersy005 13301940 2022-01-28T04:57:09Z 2022-01-28T05:02:08Z MEMBER

Under "Creating a Data Array" and next to the subitem "coords", it is written, that you can use a dictionary like {'coo1': [1,2,3], 'coo2': ['a', 'b', 'c'], ...}, so you can later skip the "dims"

Are you referring to this page? Per this documentation page, dims are only inferred from coords when coords is a list of tuples.

dims: a list of dimension names. If omitted and coords is a list of tuples, dimension names are taken from coords.

So, I'd say that the ValueError you get when using coords defined in a dictionary without specifying dims isn't really a bug.

But when I tried this, I get the message, that using a dictionary for coords is outdated.

What do you think it should return?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  [Bug]: coords: a list or dictionary of coordinates. , but dictionary is outdated 1116697033

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