Update quantile calculation method in owboxplot.py - #7305
Merged
Conversation
The parameter name has been changes in NumPy 1.22
```
methodstr, optional
This parameter specifies the method to use for estimating the quantile. There are many different methods, some unique to NumPy. See the notes for explanation. The options sorted by their R type as summarized in the H&F paper [1] are:
‘inverted_cdf’
‘averaged_inverted_cdf’
‘closest_observation’
‘interpolated_inverted_cdf’
‘hazen’
‘weibull’
‘linear’ (default)
‘median_unbiased’
‘normal_unbiased’
The first three methods are discontinuous. NumPy further defines the following discontinuous variations of the default ‘linear’ (7.) option:
‘lower’
‘higher’,
‘midpoint’
‘nearest’
Changed in version 1.22.0: This argument was previously called “interpolation” and only offered the “linear” default and last four options.
```
https://numpy.org/doc/stable/reference/generated/numpy.nanquantile.html
|
|
Contributor
Author
|
CLA is a great tool to cool-down contribution ;-) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7305 +/- ##
==========================================
- Coverage 88.98% 88.96% -0.03%
==========================================
Files 336 336
Lines 74515 74515
==========================================
- Hits 66306 66290 -16
- Misses 8209 8225 +16 🚀 New features to boost your workflow:
|
Contributor
|
Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The parameter name has been changed in NumPy 1.22
https://numpy.org/doc/stable/reference/generated/numpy.nanquantile.html
Issue
Description of changes
Includes