home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where author_association = "MEMBER" and issue = 1209745654 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 nicer error if passing a list of dimension names to transpose · 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
1104035550 https://github.com/pydata/xarray/issues/6502#issuecomment-1104035550 https://api.github.com/repos/pydata/xarray/issues/6502 IC_kwDOAMm_X85Bzj7e dcherian 2448579 2022-04-20T15:00:04Z 2022-04-20T15:00:04Z MEMBER

I think we should raise a nicer error message. Transpose is an outlier in our API. In nearly every other function, you are expected to pass a list of dimension names.

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 1,
    "rocket": 0,
    "eyes": 0
}
  Raise nicer error if passing a list of dimension names to transpose 1209745654
1104017240 https://github.com/pydata/xarray/issues/6502#issuecomment-1104017240 https://api.github.com/repos/pydata/xarray/issues/6502 IC_kwDOAMm_X85BzfdY dcherian 2448579 2022-04-20T14:43:36Z 2022-04-20T14:43:36Z MEMBER

ds.transpose(['y','z','y'])

Ah... Reemove the list here and try ds.transpose("y", "z", x") (no list) which is what you have in the first post.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Raise nicer error if passing a list of dimension names to transpose 1209745654
1104000537 https://github.com/pydata/xarray/issues/6502#issuecomment-1104000537 https://api.github.com/repos/pydata/xarray/issues/6502 IC_kwDOAMm_X85BzbYZ dcherian 2448579 2022-04-20T14:28:21Z 2022-04-20T14:29:22Z MEMBER

I can't reproduce on our dev branch. Can you try upgrading xarray please?

EDIT: can't reproduce on 2022.03.0 either.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Raise nicer error if passing a list of dimension names to transpose 1209745654

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