-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
ENH: add weighted quantile for inverted_cdf #24254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
seberg
merged 46 commits into
numpy:main
from
lorentzenchr:weighted_quantile_inverted_cdf
Jan 22, 2024
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
28162b1
ENH add _weights_are_valid
lorentzenchr 4b079c8
ENH use _weights_are_valid in np.average
lorentzenchr 7f10b12
TST add test_quantile_constant_weights
lorentzenchr 0fce6b6
ENH add weighted quantile for inverted_cdf
lorentzenchr aaac227
Merge branch 'main' into weighted_quantile_inverted_cdf
lorentzenchr 3c979bb
CLN satisfy linter
lorentzenchr bad4032
ENH add weights to nanquantile
lorentzenchr d84654e
CLN make linter happy
lorentzenchr 24f758f
TST add test_quantile_with_integer_weights
lorentzenchr cb48fd1
CLN remove blank line
lorentzenchr eee5455
ENH replace take_along_axis with normal indexing
lorentzenchr cff8df3
ENH use cumsum directly to calc CDF
lorentzenchr fa2e54a
FIX try np.intp to fix emscripten CI
lorentzenchr 93407f7
FIX try np.int32 to fix CI error for np.repeat
lorentzenchr 08f7066
Merge branch 'main' into weighted_quantile_inverted_cdf
lorentzenchr 7c3bec8
TST add test for raising errors
lorentzenchr f84a59c
Merge branch 'main' into weighted_quantile_inverted_cdf
lorentzenchr 574ea98
TST add test_quantile_with_weights_and_axis
lorentzenchr e705958
CLN make linter happy again
lorentzenchr c4ca281
ENH add weights to percentile
lorentzenchr bf9a767
TYP add weights to _function_base_impl.pyi
lorentzenchr 8b5f249
TST sorted test parameters
lorentzenchr 980120f
TYP keyword only
lorentzenchr c81f999
Merge branch 'main' into weighted_quantile_inverted_cdf
lorentzenchr 9e28f8a
Merge branch 'main' into weighted_quantile_inverted_cdf
lorentzenchr 610f8f7
DOC add release note entry
lorentzenchr fd63fad
DOC update Notes section of quantile and percentile
lorentzenchr 7fddb21
CLN address some review comments like typos
lorentzenchr 8836384
Merge branch 'main' into weighted_quantile_inverted_cdf
lorentzenchr a501179
CLN fix line length
lorentzenchr b2aeeac
FIX axis before _weights_are_valid
lorentzenchr af58619
FIX axis in weighted quantile
lorentzenchr 423b401
FIX weights in _percentile_dispatcher
lorentzenchr 4f7841a
CLN replace np.s_[..., ] by (...,)
lorentzenchr 7cc8771
TST add weighted case to test_percentile_out
lorentzenchr 5aa30c9
CLN make out argument trivial but inefficient
lorentzenchr fc0b5b7
FIX quantile output shape
lorentzenchr 2d96b56
FIX & TST
lorentzenchr 5f93d91
CLN repacify linter
lorentzenchr 5357c77
ENH make out efficient again
lorentzenchr 5581292
FIX nanquantile and nanpercentile
lorentzenchr 0bbe7d9
TST add tests for nanquantile and nanpercentile
lorentzenchr 63c3536
FIX nan handling with slices_having_nans
lorentzenchr 798845f
CLN fix BE/AE inconsistency
lorentzenchr 01b6ad4
CLN tame the linter
lorentzenchr bbdd595
CLN linter again
lorentzenchr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
CLN make linter happy again
- Loading branch information
commit e705958d0c3865f0504f52f469666f815c94c4e9
There are no files selected for viewing
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
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.
Uh oh!
There was an error while loading. Please reload this page.