home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 366626025 and user = 2448579 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

user 1

  • dcherian · 2 ✖

issue 1

  • Set one-dimensional data variable as dimension coordinate? · 2 ✖

author_association 1

  • MEMBER 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
557320245 https://github.com/pydata/xarray/issues/2461#issuecomment-557320245 https://api.github.com/repos/pydata/xarray/issues/2461 MDEyOklzc3VlQ29tbWVudDU1NzMyMDI0NQ== dcherian 2448579 2019-11-21T23:33:21Z 2019-11-21T23:33:21Z MEMBER

So that's not possible. You can't have both y and z be 1D coordinate variables for x since x is 1D.

What are you ultimately trying to do after the conversion to DataArray?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Set one-dimensional data variable as dimension coordinate? 366626025
557315718 https://github.com/pydata/xarray/issues/2461#issuecomment-557315718 https://api.github.com/repos/pydata/xarray/issues/2461 MDEyOklzc3VlQ29tbWVudDU1NzMxNTcxOA== dcherian 2448579 2019-11-21T23:17:31Z 2019-11-21T23:17:31Z MEMBER

ds.rename_dims({"i": "y"})

Is this what you want?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Set one-dimensional data variable as dimension coordinate? 366626025

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