diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-11-08 13:51:22 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 13:51:22 -0600 |
commit | 79b381f364818cd197d53ed8b767c8fa3bdcb33f (patch) | |
tree | 9d2fd4f4159c166fca00409626e9b1d6e8827eaf /numpy/lib/function_base.py | |
parent | 5cc7ef066fca7a821a2160b095578384c301ae3c (diff) | |
parent | 035d853e32d6e60a40a6a845699723238a01431b (diff) | |
download | numpy-79b381f364818cd197d53ed8b767c8fa3bdcb33f.tar.gz |
Merge pull request #20325 from bzah/doc/remove-alias-of-percentile-lerp
DOC: Remove non-existent quantile `interpolation="inclusive"` alias
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r-- | numpy/lib/function_base.py | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py index 4d57acdb2..86125168a 100644 --- a/numpy/lib/function_base.py +++ b/numpy/lib/function_base.py @@ -3901,7 +3901,7 @@ def percentile(a, * (NPY 2): 'higher', * (NPY 3): 'midpoint' * (NPY 4): 'nearest' - * (NPY 5): 'linear', aliased with 'inclusive' (default) + * (NPY 5): 'linear' New options: @@ -3911,7 +3911,7 @@ def percentile(a, * (H&F 4): 'interpolated_inverted_cdf' * (H&F 5): 'hazen' * (H&F 6): 'weibull' - * (H&F 7): 'inclusive', aliased with 'linear' (default) + * (H&F 7): 'linear' (default) * (H&F 8): 'median_unbiased' * (H&F 9): 'normal_unbiased' @@ -4007,8 +4007,7 @@ def percentile(a, * alpha = 0 * beta = 0 - inclusive: - Default method, aliased with "linear". + linear: method 7 of H&F [1]_. This method give continuous results using: * alpha = 1 @@ -4164,7 +4163,7 @@ def quantile(a, * (NPY 2): 'higher', * (NPY 3): 'midpoint' * (NPY 4): 'nearest' - * (NPY 5): 'linear', aliased with 'inclusive' (default) + * (NPY 5): 'linear' New options: @@ -4174,7 +4173,7 @@ def quantile(a, * (H&F 4): 'interpolated_inverted_cdf' * (H&F 5): 'hazen' * (H&F 6): 'weibull' - * (H&F 7): 'inclusive', aliased with 'linear' (default) + * (H&F 7): 'linear' (default) * (H&F 8): 'median_unbiased' * (H&F 9): 'normal_unbiased' @@ -4261,8 +4260,7 @@ def quantile(a, * alpha = 0 * beta = 0 - inclusive: - Default method, aliased with "linear". + linear: method 7 of H&F [1]_. This method give continuous results using: * alpha = 1 |