Skip to content

Commit

Permalink
MAINT, ENH [numpy#10736] Add interpolation methods to quantile
Browse files Browse the repository at this point in the history
- Added the missing linear interpolation methods.
- Updated the existing unit tests.

- Added pytest.mark.xfail for boolean arrays
See
- numpy#19857 (comment)
- numpy#19154
  • Loading branch information
bzah authored and seberg committed Nov 1, 2021
1 parent fae6fa4 commit dd53f27
Show file tree
Hide file tree
Showing 4 changed files with 796 additions and 194 deletions.
8 changes: 8 additions & 0 deletions doc/release/upcoming_changes/19857.improvement.rst
@@ -0,0 +1,8 @@
Add new linear interpolation methods for ``quantile`` and ``percentile``
------------------------------------------------------------------------

``quantile`` and ``percentile`` now have 13 linear interpolation methods,
nine of which can be found in the scientific literature.
The remaining methods are NumPy specific and are kept for backwards
compatibility. The default is "inclusive" (method 7), whose behavior is equivalent
to the former default "linear".

0 comments on commit dd53f27

Please sign in to comment.