diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-11-12 12:10:20 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-11-12 12:12:00 -0600 |
commit | be1571669a4544af83dd2402b50f52260c19d52b (patch) | |
tree | 1b482cd5e19ccd0470543e4ac4b502c44dade7f4 | |
parent | 7d8a8e746fc841a99f71242f60559b1be2e7340c (diff) | |
download | numpy-be1571669a4544af83dd2402b50f52260c19d52b.tar.gz |
DOC: Add release not for quantile `interpolation` rename
Also updates the old release note to include the info (and generally
tweaks it a bit)
-rw-r--r-- | doc/release/upcoming_changes/19857.improvement.rst | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/doc/release/upcoming_changes/19857.improvement.rst b/doc/release/upcoming_changes/19857.improvement.rst index e39d413cc..cbeff08b1 100644 --- a/doc/release/upcoming_changes/19857.improvement.rst +++ b/doc/release/upcoming_changes/19857.improvement.rst @@ -1,8 +1,13 @@ -Add new linear interpolation methods for ``quantile`` and ``percentile`` ------------------------------------------------------------------------- +Add new 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". +``quantile`` and ``percentile`` now have have a ``method=`` +keyword argument supporting 13 different methods. +This replaces the ``interpolation=`` keyword argument. + +The methods are now aligned with nine methods which can be +found in scientific literature and the R language. +The remaining methods are the previous discontinuous variations +of the default "linear" one. + +Please see the documentation of `numpy.percentile` for more information. |