home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 594594646

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
594594646 MDExOlB1bGxSZXF1ZXN0Mzk5MjAwODg3 3936 Support multiple dimensions in DataArray.argmin() and DataArray.argmax() methods 3958036 closed 0     27 2020-04-05T18:52:52Z 2020-06-29T20:22:49Z 2020-06-29T19:36:26Z CONTRIBUTOR   0 pydata/xarray/pulls/3936

These return dicts of the indices of the minimum or maximum of a DataArray over several dimensions. Inspired by @fujiisoup's work in #1469. With #3871, replaces #1469. Provides a simpler solution to #3160.

Implemented so that da.isel(da.argmin(list_of_dim)) == da.min(list_of_dim) da.isel(da.argmax(list_of_dim)) == da.max(list_of_dim)

  • [x] Closes #1469
  • [x] Tests added
  • [x] Passes isort -rc . && black . && mypy . && flake8
  • [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/3936/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

  • 2 rows from issues_id in issues_labels
  • 27 rows from issue in issue_comments
Powered by Datasette · Queries took 241.43ms · About: xarray-datasette