home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 714228717

This data as json

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 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
}
    13221727 pull

Links from other tables

  • 0 rows from issues_id in issues_labels
  • 10 rows from issue in issue_comments
Powered by Datasette · Queries took 1.992ms · About: xarray-datasette