home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 267521588 and user = 2448579 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

  • dcherian · 2 ✖

issue 1

  • Make passing a DataArray for the xarray.concat dim argument equivalent to passing a pandas Index · 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
1094081191 https://github.com/pydata/xarray/issues/1646#issuecomment-1094081191 https://api.github.com/repos/pydata/xarray/issues/1646 IC_kwDOAMm_X85BNlqn dcherian 2448579 2022-04-09T16:39:04Z 2022-04-09T16:39:04Z MEMBER

We could also make it only succeed if DataArray.name is None and raise an error otherwise.

Supporting the tuple form also seems like a good idea

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Make passing a DataArray for the xarray.concat dim argument equivalent to passing a pandas Index 267521588
356188198 https://github.com/pydata/xarray/issues/1646#issuecomment-356188198 https://api.github.com/repos/pydata/xarray/issues/1646 MDEyOklzc3VlQ29tbWVudDM1NjE4ODE5OA== dcherian 2448579 2018-01-09T05:56:25Z 2018-01-09T05:56:25Z MEMBER

I have a simple fix in #1812 .

With that change, this works.

print(xarray.concat(data, xarray.DataArray(['foo1', 'foo2', 'foo3', 'foo4', 'foo5'], name='stat'))

But if you provided a dimension name like

print(xarray.concat(data, xarray.DataArray(['foo1', 'foo2', 'foo3', 'foo4', 'foo5'], dims=['new_dim'], name='stat'))

then new_dim is renamed to stat. What is the desired behaviour in this case viz. do we preserve dimension name new_dim or assign new name stat?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Make passing a DataArray for the xarray.concat dim argument equivalent to passing a pandas Index 267521588

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