-
Notifications
You must be signed in to change notification settings - Fork 2.4k
feat: Add Expr.item to strictly extract a single value from an expression
#24888
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
Merged
Changes from 22 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
639ab0a
Implement Expr.single()
dsprenkels cac7f2c
Implement List.single() and add some tests
dsprenkels 755f0c3
Add a testing for Expr.single
dsprenkels 9975284
Some small polishing
dsprenkels 8da2fe6
Remove List.single() and use agg(F.element().single())
dsprenkels 576546d
Not sure why this doctest failed; does it work now?
dsprenkels be0bb14
Update dsl-schema-hashes
dsprenkels 65f9c28
Update update_groups_while_evicting
dsprenkels 0dfbfb5
Enable struct for the two error tests
dsprenkels 992c60c
Set IRAggExpr::Single to not observe order
dsprenkels 4f53cb0
single: Add more tests
dsprenkels 0c45359
Deprecate {DataFrame,Series}.item() in favor of .single()
dsprenkels 6f1da8c
Replace .item() with .single() in tests
dsprenkels dba171b
Revert "Replace .item() with .single() in tests"
dsprenkels 414c3d6
Revert "Deprecate {DataFrame,Series}.item() in favor of .single()"
dsprenkels e029504
Rename .single() to .item()
dsprenkels 64180dc
Fix some straggler tests
dsprenkels 4024d6a
Merge remote-tracking branch 'upstream/main' into issue-8689_single
dsprenkels 7c349b9
Add "See Also" (get) sections to item() docs
dsprenkels 43f84a9
Update DSL schema hashes
dsprenkels 8c27aa8
Update 2 small comments
dsprenkels 43ed4af
tiny tweak
dsprenkels 6336316
Fix PR comments
dsprenkels a12276c
Forgot to update one Error construction
dsprenkels 2d0f941
PR comment
dsprenkels 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 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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.