home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

1 row where author_association = "MEMBER", issue = 599074389 and user = 35968931 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

  • TomNicholas · 1 ✖

issue 1

  • interpolate_na drops DataArray attributes · 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
613462193 https://github.com/pydata/xarray/issues/3968#issuecomment-613462193 https://api.github.com/repos/pydata/xarray/issues/3968 MDEyOklzc3VlQ29tbWVudDYxMzQ2MjE5Mw== TomNicholas 35968931 2020-04-14T14:03:32Z 2020-04-14T14:03:32Z MEMBER

Hi Rob,

Thanks for flagging this. It was a bug, which I've now fixed in a PR.

My fix adds a keep_attrs argument to interpolate_na in order to be consistent with the rest of the API. That means to preserve the attrs you'll either have to pass keep_attrs=True explicitly, or set the global option with xr.set_options(keep_attrs=True). I would recommend doing the latter, and then please raise another issue if you spot any other methods which don't preserve attrs.

I do not believe attributes should ever be dropped like this as they typically contain persistent information.

I basically agree, but we're discussing the details of whether or not to change to this behaviour as the default over in #3891 .

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  interpolate_na drops DataArray attributes 599074389

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