home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

6 rows where issue = 469633509 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 5

  • dcherian 2
  • shoyer 1
  • nbren12 1
  • tommylees112 1
  • stale[bot] 1

author_association 3

  • MEMBER 3
  • NONE 2
  • CONTRIBUTOR 1

issue 1

  • calculating cumsums on a groupby object · 6 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
866754084 https://github.com/pydata/xarray/issues/3141#issuecomment-866754084 https://api.github.com/repos/pydata/xarray/issues/3141 MDEyOklzc3VlQ29tbWVudDg2Njc1NDA4NA== stale[bot] 26384082 2021-06-23T11:23:33Z 2021-06-23T11:23:33Z NONE

In order to maintain a list of currently relevant issues, we mark issues as stale after a period of inactivity

If this issue remains relevant, please comment here or remove the stale label; otherwise it will be marked as closed automatically

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  calculating cumsums on a groupby object 469633509
513636179 https://github.com/pydata/xarray/issues/3141#issuecomment-513636179 https://api.github.com/repos/pydata/xarray/issues/3141 MDEyOklzc3VlQ29tbWVudDUxMzYzNjE3OQ== nbren12 1386642 2019-07-22T04:31:40Z 2019-07-22T04:31:40Z CONTRIBUTOR

Xarray has a pretty extensive contributor's guide that you might find helpful. In short, the way to contribute changes is to create your own fork of xarray, commit/push some changes, and finally submit a pull request (PR).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  calculating cumsums on a groupby object 469633509
513582194 https://github.com/pydata/xarray/issues/3141#issuecomment-513582194 https://api.github.com/repos/pydata/xarray/issues/3141 MDEyOklzc3VlQ29tbWVudDUxMzU4MjE5NA== tommylees112 21049064 2019-07-21T19:45:32Z 2019-07-21T19:45:32Z NONE

Would love to! Sorry have been away this weekend. Do i just clone the repo write the code and send in a PR in a new branch?

(first PR on a public repo!)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  calculating cumsums on a groupby object 469633509
513327057 https://github.com/pydata/xarray/issues/3141#issuecomment-513327057 https://api.github.com/repos/pydata/xarray/issues/3141 MDEyOklzc3VlQ29tbWVudDUxMzMyNzA1Nw== dcherian 2448579 2019-07-19T18:17:08Z 2019-07-19T18:17:08Z MEMBER

@tommylees112 Are you up for sending in a PR. It's an easy fix...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  calculating cumsums on a groupby object 469633509
512908842 https://github.com/pydata/xarray/issues/3141#issuecomment-512908842 https://api.github.com/repos/pydata/xarray/issues/3141 MDEyOklzc3VlQ29tbWVudDUxMjkwODg0Mg== shoyer 1217238 2019-07-18T17:20:17Z 2019-07-18T17:20:17Z MEMBER

It looks like ds.groupby('time.year').apply(lambda x: x.cumsum(dim='time')) mostly works for now.

But yes, it would be great to add this.

{
    "total_count": 3,
    "+1": 3,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  calculating cumsums on a groupby object 469633509
512862204 https://github.com/pydata/xarray/issues/3141#issuecomment-512862204 https://api.github.com/repos/pydata/xarray/issues/3141 MDEyOklzc3VlQ29tbWVudDUxMjg2MjIwNA== dcherian 2448579 2019-07-18T15:20:12Z 2019-07-18T15:20:12Z MEMBER

I wonder if this is as easy as adding ops.inject_cum_methods(Dataset.groupby) at the end of core/groupby.py?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  calculating cumsums on a groupby object 469633509

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