home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

2 rows where issue = 408010761 and user = 44284270 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

  • mada0007 · 2 ✖

issue 1

  • rolling count not working · 2 ✖

author_association 1

  • NONE 2
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
461717329 https://github.com/pydata/xarray/issues/2755#issuecomment-461717329 https://api.github.com/repos/pydata/xarray/issues/2755 MDEyOklzc3VlQ29tbWVudDQ2MTcxNzMyOQ== mada0007 44284270 2019-02-08T07:42:34Z 2019-02-08T07:52:22Z NONE

Hi all so finally it worked, just for the benefit of others this is how it wents aa = dset.where(dset.precip<50).rolling(time=59).count() this works but brings up a dataset which i then convert to xarray dataset with aa = aa.to_array() Thanks to all for the guidance.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  rolling count not working 408010761
461707837 https://github.com/pydata/xarray/issues/2755#issuecomment-461707837 https://api.github.com/repos/pydata/xarray/issues/2755 MDEyOklzc3VlQ29tbWVudDQ2MTcwNzgzNw== mada0007 44284270 2019-02-08T06:48:24Z 2019-02-08T06:48:24Z NONE

Hi thanks but yes I want something like you have written I tried it and got the following error aa = dset.where(dset.precip<50).rolling(time=59).count('time')

Traceback (most recent call last): File "/Users/mada0007/anaconda3/envs/RAWORK/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 3267, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "<ipython-input-102-681874095ab1>", line 1, in <module> aa = dset.where(dset.precip<50).rolling(time=59).count('time') TypeError: rolling_count() takes 1 positional argument but 2 were given

{
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  rolling count not working 408010761

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