-
Notifications
You must be signed in to change notification settings - Fork 168
feat: Support over
expressions more freely, make expressions printable, rewrite internals (travelling pr 🌴 )
#3152
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
Open
MarcoGorelli
wants to merge
104
commits into
narwhals-dev:main
Choose a base branch
from
MarcoGorelli:nodes-rewrite
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,253
−2,730
Open
Changes from 32 commits
Commits
Show all changes
104 commits
Select commit
Hold shift + click to select a range
b4141af
feat: Make expressions printable, rewrite internals
MarcoGorelli 0cf73ca
coverage
MarcoGorelli 52f978e
typing
MarcoGorelli f6ce196
coverage
MarcoGorelli 6169b23
typing again
MarcoGorelli c31c5e9
revert accidental change
MarcoGorelli ed29d1c
skip old polars
MarcoGorelli f90c13b
old vs
MarcoGorelli 2943784
fix dataframe to numpy
MarcoGorelli dea9e3e
document ExprNode
MarcoGorelli 4048ae6
safer `col`, fix typing
MarcoGorelli 906f7fb
:art:
MarcoGorelli a457bf0
exclude too
MarcoGorelli f29d8ad
typing
MarcoGorelli 11890a9
mypy
MarcoGorelli 07ed5ee
remove unnecessary check
MarcoGorelli 06eafaa
wait how tf doe thi work
MarcoGorelli 53c048f
grossly simplify broadcast
MarcoGorelli 1bc6c95
simplify
MarcoGorelli 5784048
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli c2209d2
cov
MarcoGorelli 6810813
post merge fixup
MarcoGorelli 48a9dfd
even simpler!
MarcoGorelli 5ba10ed
assign variable
MarcoGorelli 8cde5d2
replace/replace_all typing
MarcoGorelli 19a5c99
yay remove type ignore
MarcoGorelli b758710
wooah we can support per-group broadcasting
MarcoGorelli 64ccba4
test repr
MarcoGorelli 474a2df
dask cmon man
MarcoGorelli 12a6637
minor things
MarcoGorelli c602133
minor things
MarcoGorelli 0996ffe
simplify
MarcoGorelli 4dd0e8f
Merge branch 'main' into nodes-rewrite
MarcoGorelli 0b6d2e5
post merge fixup
MarcoGorelli dfbdeee
reduce selectors diff
MarcoGorelli 1ebf11e
document ExprNodes
MarcoGorelli ca6ddb9
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli bd1ccea
dask fix
MarcoGorelli 18137e1
simplify
MarcoGorelli 255e828
wip simpler
MarcoGorelli ae48754
simpler typing
MarcoGorelli 6c054cc
who even needs `is_compliant_expr` anymore?
MarcoGorelli 7d37394
dask fixup
MarcoGorelli 1771c8e
polars compat
MarcoGorelli 8815b19
split clip into clip_lower,clip_upper,clip
MarcoGorelli 3ed89a9
complete the split
MarcoGorelli a7a3bb2
:art:
MarcoGorelli e982fd0
typing
MarcoGorelli 90a3302
skip old dask for fill_null
MarcoGorelli e8fa7f1
coverage, simplify
MarcoGorelli 7a23876
old dask
MarcoGorelli b37dc66
it gets simpler
MarcoGorelli c2089de
remove even more chaff
MarcoGorelli ed80088
remove several Any
MarcoGorelli 74985f4
typing
MarcoGorelli 5aa3d71
expressifiable_args -> kwargs
MarcoGorelli 3c075e6
more precise typing, remove another `Any`
MarcoGorelli f022d1c
more typing fixes
MarcoGorelli 9bcb61d
more typing fixes
MarcoGorelli 9203e48
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli 32346ab
groupby fix
MarcoGorelli 51d258e
first last
MarcoGorelli f6ab8d6
fix is_native, with_row_index
MarcoGorelli 068e75e
typing, docs (thanks Francesco!)
MarcoGorelli db0303a
more slow testv
MarcoGorelli d47e522
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli d0b3acd
remove unnecessary extract_native
MarcoGorelli a50395a
typing
MarcoGorelli 9a356c7
revert `to_frame()/select/get_column` change (can do it later)
MarcoGorelli 6e9eab4
__call__ -> _to_compliant_expr
MarcoGorelli 6d71c41
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli a8bfefe
skip as appropriate
MarcoGorelli 8ee0100
coverage, docs
MarcoGorelli 52d58c8
one more
MarcoGorelli e987618
update docs, use `cls`, coverage, take over_node_order_by and partiti…
MarcoGorelli edc117d
WIP: refactor ExprMetadata
FBruzzesi 639b996
kind = node.kind in from_node and with_node
FBruzzesi 680926f
Merge branch 'nodes-rewrite' into experimental/linked-list
FBruzzesi 52dd7f6
no cover `iter_nodes`
FBruzzesi e8ab3f6
rm iter_nodes method
FBruzzesi 322354b
Merge pull request #7 from narwhals-dev/experimental/linked-list
MarcoGorelli baa4702
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli 3ff84ac
pass `prev` to `combine_metadata`
MarcoGorelli 7443955
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli b0a78e3
fixup
MarcoGorelli d9a30b9
Merge branch 'main' into nodes-rewrite
MarcoGorelli a353940
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli 1962d53
ceil, floor
MarcoGorelli eb1f74e
split out `_with_node` into `_with_over_node` and `_append_node`
MarcoGorelli fd87898
simplify ExprMetadata.from_node
MarcoGorelli 0840868
simplify further
MarcoGorelli a2dbd2e
clearer names
MarcoGorelli 95c9a66
Merge branch 'nodes-rewrite' of github.com:MarcoGorelli/narwhals into…
MarcoGorelli c9c46c0
dask fixup
MarcoGorelli 33e3078
typing
MarcoGorelli 90468de
raise developer-facing assertionerror in _metadata
MarcoGorelli a657cbb
cvg
MarcoGorelli 0592804
correctly respect arguments metadata in `with_filtration`, add test
MarcoGorelli 5d150f3
mark `filter` not implemented for dask
MarcoGorelli 739e0d5
fixup
MarcoGorelli 34229c1
keep `filter` in `CompliantSeries` for now
MarcoGorelli f52335c
Merge branch 'main' into nodes-rewrite
MarcoGorelli b582e92
Merge remote-tracking branch 'upstream/main' into nodes-rewrite
MarcoGorelli 081e8c7
Merge branch 'nodes-rewrite' of github.com:MarcoGorelli/narwhals into…
MarcoGorelli 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.