home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 495920497 and user = 2818208 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

  • gwgundersen · 2 ✖

issue 1

  • `sel` fails confusingly or silently when a dimension name matches an optional argument · 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
533693878 https://github.com/pydata/xarray/issues/3324#issuecomment-533693878 https://api.github.com/repos/pydata/xarray/issues/3324 MDEyOklzc3VlQ29tbWVudDUzMzY5Mzg3OA== gwgundersen 2818208 2019-09-20T20:13:07Z 2019-09-20T20:13:07Z CONTRIBUTOR

This could be an addition to the either_dict_or_kwargs helper function.

Currently, either_dict_or_kwargs doesn't have access to the DataArray instance's dims or the function's keyword arguments; are you suggesting that either_dict_or_kwargs be modified to take these? I do like this approach. Otherwise, I'd have to add a second utility function check everywhere either_dict_or_kwargs is used, and it'd be easy to forget going forward.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `sel` fails confusingly or silently when a dimension name matches an optional argument 495920497
533515745 https://github.com/pydata/xarray/issues/3324#issuecomment-533515745 https://api.github.com/repos/pydata/xarray/issues/3324 MDEyOklzc3VlQ29tbWVudDUzMzUxNTc0NQ== gwgundersen 2818208 2019-09-20T11:28:48Z 2019-09-20T11:28:48Z CONTRIBUTOR

What if I create a PR with a function in utils that takes an array and a list of keyword arguments, and warns the user if the array has any of the keyword arguments as dimensions. The warning can suggest using a dict.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `sel` fails confusingly or silently when a dimension name matches an optional argument 495920497

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