home / github

Menu
  • GraphQL API
  • Search all tables

issues

Table actions
  • GraphQL API for issues

2 rows where "created_at" is on date 2022-10-24, repo = 13221727 and user = 2448579 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

type 1

  • pull 2

state 1

  • closed 2

repo 1

  • xarray · 2 ✖
id node_id number title user state locked assignee milestone comments created_at updated_at ▲ closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
1421065459 PR_kwDOAMm_X85BbUp9 7206 Save groupby codes after factorizing, pass to flox dcherian 2448579 closed 0     2 2022-10-24T16:00:35Z 2023-03-30T04:36:40Z 2023-03-29T16:28:28Z MEMBER   0 pydata/xarray/pulls/7206
  • [x] Closes #6689,
  • xref #6610
  • [x] Closes #7601
  • [x] Tests added

This is an alternative to #6689. - There I tried to avoid factorizing in the GroupBy constructor, and passed the by variable directly to flox. Most GroupBy methods however depend on various steps in __init__, so it became messy. - Here I instead preserve factorizing in the constructor and pass the factorized codes to flox. This simplifies things a lot. Since we'll want to preserve the "for loop over groups" approach for GroupBy.map, we'll need something like this anyway.

The large amount of deleted code in _flox_reduce here suggests to me that this is the better approach.

I think we could also use this to generalize to multiple groupers: - factorize each, - ravel_muti_index to generate a singe variable to groupby - apply - reshape to output shape - assign new indices.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7206/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
1421036686 PR_kwDOAMm_X85BbOeg 7205 Fix binning when labels are provided. dcherian 2448579 closed 0     0 2022-10-24T15:40:27Z 2022-10-26T15:56:37Z 2022-10-26T15:56:35Z MEMBER   0 pydata/xarray/pulls/7205
  • [x] Closes #7198
  • [x] Tests added
  • [ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/7205/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issues] (
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [number] INTEGER,
   [title] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [state] TEXT,
   [locked] INTEGER,
   [assignee] INTEGER REFERENCES [users]([id]),
   [milestone] INTEGER REFERENCES [milestones]([id]),
   [comments] INTEGER,
   [created_at] TEXT,
   [updated_at] TEXT,
   [closed_at] TEXT,
   [author_association] TEXT,
   [active_lock_reason] TEXT,
   [draft] INTEGER,
   [pull_request] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [state_reason] TEXT,
   [repo] INTEGER REFERENCES [repos]([id]),
   [type] TEXT
);
CREATE INDEX [idx_issues_repo]
    ON [issues] ([repo]);
CREATE INDEX [idx_issues_milestone]
    ON [issues] ([milestone]);
CREATE INDEX [idx_issues_assignee]
    ON [issues] ([assignee]);
CREATE INDEX [idx_issues_user]
    ON [issues] ([user]);
Powered by Datasette · Queries took 2479.625ms · About: xarray-datasette