home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

3 rows where issue = 858671865 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: created_at (date), updated_at (date)

user 3

  • fmaussion 1
  • keewis 1
  • babameme 1

author_association 2

  • MEMBER 2
  • NONE 1

issue 1

  • Monthly Rolling · 3 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
820418635 https://github.com/pydata/xarray/issues/5162#issuecomment-820418635 https://api.github.com/repos/pydata/xarray/issues/5162 MDEyOklzc3VlQ29tbWVudDgyMDQxODYzNQ== keewis 14808389 2021-04-15T13:23:09Z 2021-04-15T13:23:09Z MEMBER

window_kwargs is literally the keyword argument form of dim (it should have been named window to make this a little bit clearer). These are equivalent: python da.rolling({"x": 3}) # dim da.rolling(x=3) # window_kwargs

however, you might actually be looking for DataArray.resample: python da.resample({"time": "1M"}) # indexer form da.resample(time="1M") # indexer_kwargs form

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Monthly Rolling 858671865
820316347 https://github.com/pydata/xarray/issues/5162#issuecomment-820316347 https://api.github.com/repos/pydata/xarray/issues/5162 MDEyOklzc3VlQ29tbWVudDgyMDMxNjM0Nw== babameme 21273359 2021-04-15T10:27:48Z 2021-04-15T10:27:48Z NONE

Yes, i follow that guidance. I have try da.rolling(dim = x).mean() dim: One of DataArray da dimensions x: int

That guide doesn't explicitly explain use cases of kwargs: **window_kwargs (optional) – The keyword arguments form of dim. One of dim or window_kwargs must be provided.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Monthly Rolling 858671865
820278259 https://github.com/pydata/xarray/issues/5162#issuecomment-820278259 https://api.github.com/repos/pydata/xarray/issues/5162 MDEyOklzc3VlQ29tbWVudDgyMDI3ODI1OQ== fmaussion 10050469 2021-04-15T09:29:55Z 2021-04-15T09:29:55Z MEMBER

http://xarray.pydata.org/en/stable/generated/xarray.DataArray.rolling.html

What did you try? What did not work out?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Monthly Rolling 858671865

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