home / github

Menu
  • GraphQL API
  • Search all tables

issues

Table actions
  • GraphQL API for issues

2 rows where state = "closed", type = "pull" and user = 1277781 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
714228717 MDExOlB1bGxSZXF1ZXN0NDk3MzcyNTY2 4484 xarray.map kefirbandi 1277781 closed 0     12 2020-10-04T04:11:29Z 2023-10-16T18:54:19Z 2023-10-16T18:54:19Z CONTRIBUTOR   0 pydata/xarray/pulls/4484

UPDATE: Please let me know whether this PR can be considered to be merged. If not I won't bother trying to fix failed tests such as:

would reformat /home/vsts/work/1/s/xarray/core/map.py would reformat /home/vsts/work/1/s/xarray/core/dataset.py would reformat /home/vsts/work/1/s/xarray/tests/test_map.py Oh no! 💥 💔 💥

Thanks


  • [x] Tests added
  • [x] User visible changes (including notable bug fixes) are documented in whats-new.rst
  • [x] New functions/methods are listed in api.rst

I implemented the top-level xarray.map function. It is a generalization of the Dataset.map method for those functions which take more than one DataArray as input. The function will be applied to the intersection of the variables in the datasets.

E.g: f = lambda a, b: b-a map([ds1, ds2], f) More details in the docstring.

(I probably messed up something with git as the commits listed below also include my earlier commits not related to this PR. But the list of files is clean, it only includes what I'd like to merge)

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/4484/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    xarray 13221727 pull
424115176 MDExOlB1bGxSZXF1ZXN0MjYzNTM4NTE4 2839 Fixing deepcopy for Dataset.attrs kefirbandi 1277781 closed 0     1 2019-03-22T09:24:54Z 2019-03-30T03:14:38Z 2019-03-30T03:14:38Z CONTRIBUTOR   0 pydata/xarray/pulls/2839
  • [x] Closes #2835
  • [X] Tests added
  • [X] Fully documented, including whats-new.rst for all changes and api.rst for new API
{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2839/reactions",
    "total_count": 1,
    "+1": 1,
    "-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 556.958ms · About: xarray-datasette