home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 1294978633 and user = 17162724 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

  • raybellwaves · 2 ✖

issue 1

  • to_array to create a dimension as last axis · 2 ✖

author_association 1

  • CONTRIBUTOR 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1176378382 https://github.com/pydata/xarray/issues/6754#issuecomment-1176378382 https://api.github.com/repos/pydata/xarray/issues/6754 IC_kwDOAMm_X85GHhwO raybellwaves 17162724 2022-07-06T15:41:43Z 2022-07-06T15:41:43Z CONTRIBUTOR

What's the advantage of this over the transpose call?

I would say very little. I'm a lazy programmer.

I appreciate the arguments here of not blending methods which could make them more prone to bugs. I doubt there's any noticeable overhead of computation cost with the extra transpose call.

Welcome to close.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  to_array to create a dimension as last axis 1294978633
1175730605 https://github.com/pydata/xarray/issues/6754#issuecomment-1175730605 https://api.github.com/repos/pydata/xarray/issues/6754 IC_kwDOAMm_X85GFDmt raybellwaves 17162724 2022-07-06T03:12:52Z 2022-07-06T03:12:52Z CONTRIBUTOR

We could follow the axis kwarg to DataArray.expand_dims as precedent. It specifies the axis number for the new dimension.

Thanks. Made a PR before seeing your comment. Welcome to chime in on the PR

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  to_array to create a dimension as last axis 1294978633

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