home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 1088615118

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
1088615118 PR_kwDOAMm_X84wRifr 6108 quantile: rename interpolation arg to method 10194086 closed 0     3 2021-12-25T15:06:44Z 2022-02-08T17:09:47Z 2022-02-07T09:40:05Z MEMBER   0 pydata/xarray/pulls/6108

numpy/numpy#20327 introduces some changes to np.quantile (and related) for the upcoming numpy release (v1.22.0). It renames the interpolation keyword to method and offers some new interpolation methods. This PR does two things

  1. it restores compatibility with numpy 1.22
  2. it renames the interpolation keyword to method in xarray - this change is not strictly necessary but I thought better to be consistent with numpy

  3. [x] Tests added

  4. [x] Passes pre-commit run --all-files
  5. [x] User visible changes (including notable bug fixes) are documented in whats-new.rst

(Side note in dask.array.percentile the method keyword is used differently from the interpolation keyword (docs). However, xarray does not use the dask function.)


TODO: need to import ArrayLike from npcompat.

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/6108/reactions",
    "total_count": 1,
    "+1": 1,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
    13221727 pull

Links from other tables

  • 1 row from issues_id in issues_labels
  • 3 rows from issue in issue_comments
Powered by Datasette · Queries took 0.8ms · About: xarray-datasette