home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 349077990 and user = 6815844 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

  • fujiisoup · 3 ✖

issue 1

  • New Resample-Syntax leading to cancellation of dimensions · 3 ✖

author_association 1

  • MEMBER 3
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
412382654 https://github.com/pydata/xarray/issues/2356#issuecomment-412382654 https://api.github.com/repos/pydata/xarray/issues/2356 MDEyOklzc3VlQ29tbWVudDQxMjM4MjY1NA== fujiisoup 6815844 2018-08-13T00:32:02Z 2018-08-13T00:32:02Z MEMBER

Thanks, @dcherian. It looks the original API was designed mainly for 1d arrays, and documentation does not describe clearly how to apply them to multi-dimensional arrays.

I split this issue into two, #2362 and #2363.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  New Resample-Syntax leading to cancellation of dimensions 349077990
412249701 https://github.com/pydata/xarray/issues/2356#issuecomment-412249701 https://api.github.com/repos/pydata/xarray/issues/2356 MDEyOklzc3VlQ29tbWVudDQxMjI0OTcwMQ== fujiisoup 6815844 2018-08-11T04:22:06Z 2018-08-11T04:22:06Z MEMBER

BTW, is this API (repeated dimension names) intended? I am slightly wondering that this is a little different from the rolling counterpart. In rolling, we do ds.rolling(time=3).sum(), we do not need to (cannot) specify the dimension name in sum.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  New Resample-Syntax leading to cancellation of dimensions 349077990
412249612 https://github.com/pydata/xarray/issues/2356#issuecomment-412249612 https://api.github.com/repos/pydata/xarray/issues/2356 MDEyOklzc3VlQ29tbWVudDQxMjI0OTYxMg== fujiisoup 6815844 2018-08-11T04:19:40Z 2018-08-11T04:19:40Z MEMBER

Is the argument time='M' only mean to be freqency='M'?

It means resampling with frequency='M' *along coordinate named 'time'.

what would be the syntax of your command, if the time dimension has the name 'TIMES'?

It should be python data["TOT_PREC"].resample(TIMES="M").sum(dim='TIMES')

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  New Resample-Syntax leading to cancellation of dimensions 349077990

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