-
Notifications
You must be signed in to change notification settings - Fork 915
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
[ENH] Implement groupby.sample
#12882
Merged
rapids-bot
merged 21 commits into
rapidsai:branch-23.04
from
wence-:wence/fea/groupby-sample
Mar 23, 2023
Merged
Changes from 10 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
008cfe1
Implement sketch of groupby.sample
wence- 0972339
Implement fast path for sample
wence- 30629ac
Pacify type-checker and some more implementation
wence- 114a164
Faster paths in most cases, better documentation
wence- 0179867
Merge branch 'branch-23.04' into wence/fea/groupby-sample
wence- 2f9a8c1
Fix bugs in fast-path code
wence- af5036a
Add tests of groupby.sample
wence- cf5fc32
Expose segmented_sort_by_key to Python
wence- a97ba8d
No more pathological slow cases in groupby sample
wence- cffe605
Slightly faster masking of the shuffled indices
wence- aa0fd8c
Minor fixes
wence- 74cc64b
Fix sample for non-range index
wence- 6113e8e
Test groupby.sample with non rangeindex
wence- 85acba9
Add groupby.sample to pytest benchmarks
wence- e90a214
Use numpy group_offsets
wence- 4f6d796
Merge branch-23.04 into wence/fea/groupby-sample
wence- b57b068
Merge remote-tracking branch 'upstream/branch-23.04' into wence/fea/g…
wence- adb7a0b
Minor fixes in review
wence- 7998d90
Dtypes aren't callable
wence- 558541d
Trailing comma is bad
wence- 206d07a
Correct string index construction
wence- 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
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess I was just copying the previous
order_by
implementation, but done.