-
Notifications
You must be signed in to change notification settings - Fork 211
feat(expr-ir): Add {DataFrame,Series}.explode(empty_as_null, keep_nulls)
#3347
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 17 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
58c7595
feat: Add `DataFrame.explode`
dangotbanned 2f4ffed
test: Port tests from `main`
dangotbanned 74125f3
feat: Validate dtypes at narwhals-level
dangotbanned 3afdaba
feat: Support `ArrowDataFrame.explode([column])`
dangotbanned 3fd946b
feat(expr-ir): Support multi* column explode
dangotbanned fcb58b4
feat(expr-ir): Fully support multi column explode
dangotbanned 414d0f6
test: Cover selectors, >2 columns
dangotbanned 2174ae3
feat(expr-ir): Add `Series.explode`
dangotbanned c936205
chore: Pass through `explode` options
dangotbanned 314f359
feat(expr-ir): Support `Series.explode(empty_as_null=..., keep_nulls=…
dangotbanned 734792f
fix: Don't fall back to `ArrowExpr.name`
dangotbanned 4987ebb
prep for `DataFrame.explode(..., **kwds)`
dangotbanned 5a799ce
feat(expr-ir): Support `DataFrame.explode(*columns, **kwds)`
dangotbanned 32997bc
refactor: Looking cleaner
dangotbanned 0126f92
cover non-take, refactor to `explode_columns`
dangotbanned 8c420d0
"fix" typing
dangotbanned 2510d57
refactor: Just one version, thanks
dangotbanned 59d4f38
perf: Drop list columns before `take`
dangotbanned 164c8c8
fill/fix typing holes
dangotbanned 81b114a
test: Shrink cases for `test_explode_frame_options`
dangotbanned e86c66d
refactor: Clean up and docs
dangotbanned 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
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.