-
Notifications
You must be signed in to change notification settings - Fork 170
refactor: Add CompliantSeries.from_numpy
#2196
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 15 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4b812d3
feat(typing): Add `NumpyConvertible` protocol
dangotbanned 18b07f9
feat(typing): Extend `CompliantSeries` w/ `NumpyConvertible`
dangotbanned 1401aa1
fix(typing): Add missing args for `ArrowSeries.to_numpy`
dangotbanned d02d83f
feat: add `ArrowSeries.from_numpy`
dangotbanned 9c81781
feat: add `PandasLikeSeries.from_numpy`
dangotbanned b575e37
feat: add `PolarsSeries.from_numpy`
dangotbanned 48c8179
feat(DRAFT): add `PolarsSeries.to_numpy`
dangotbanned f5405b4
fix: resolve circular import
dangotbanned 2a86bbb
refactor: Replace all `_create_compliant_series`
dangotbanned ca8fcdf
refactor: Move `map_batches` up to `EagerExpr`
dangotbanned d33f1ae
coverage
dangotbanned 9af9228
refactor(typing): Use `Into1DArray` alias
dangotbanned cf0ae31
Merge remote-tracking branch 'upstream/main' into series-from-numpy
dangotbanned 3cc3a1c
refactor: Reuse `.__array__` for `PolarsSeries.to_numpy`
dangotbanned 1f67693
chore: force github to let me start a thread
dangotbanned 82be657
Merge branch 'main' into series-from-numpy
dangotbanned 333bc67
refactor: remove uncovered `Implementation` checl
dangotbanned 6ebbad2
Merge branch 'main' into series-from-numpy
dangotbanned 4176a67
Merge branch 'main' into series-from-numpy
dangotbanned adb6b7a
Merge branch 'main' into series-from-numpy
dangotbanned 6a5ed1d
Merge remote-tracking branch 'upstream/main' into series-from-numpy
dangotbanned 670345c
Merge branch 'main' into series-from-numpy
dangotbanned c033c71
remove comment comment
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
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.
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.
Linking this back to
nw.functions.new_series, we might wanna have this as:narwhals/narwhals/functions.py
Lines 188 to 194 in 7611bd4