-
Notifications
You must be signed in to change notification settings - Fork 206
feat: support cum_sum for lazy backends
#2132
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
MarcoGorelli
merged 71 commits into
narwhals-dev:main
from
MarcoGorelli:start-order-dependence
Mar 8, 2025
Merged
Changes from 43 commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
8a55317
chore: rename changes_length to filtration
MarcoGorelli 4cda373
hey this works
MarcoGorelli bc6fb60
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli 78320eb
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli ba8fc2a
passes for sqlframme
MarcoGorelli 4251f55
pandas working too!
MarcoGorelli bb144b8
robustness
MarcoGorelli 3f154e3
wip
MarcoGorelli 1437b6d
wip
MarcoGorelli 3344eb7
wip
MarcoGorelli ccc135d
support for polars
MarcoGorelli 945dde8
avoid doing 2 sorts in pandas implementation
MarcoGorelli e2d9cd6
tpch
MarcoGorelli 64051d3
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli 5c2b2e2
amazing
MarcoGorelli 4abe290
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli 8a9b1b4
do it for pyarrow too
MarcoGorelli 70e23ac
simplify
MarcoGorelli 543e686
wip
MarcoGorelli 0a556a5
fixup pandas reverse
MarcoGorelli 9449066
xfail some dask
MarcoGorelli 5f35d22
old polars
MarcoGorelli 87e9dfe
fixup
MarcoGorelli d02c9eb
silence modins noise
MarcoGorelli d597d5a
old pandas compat
MarcoGorelli bff5e5b
old pandas compat
MarcoGorelli b1491ba
arrow fix
MarcoGorelli cdb4eb1
wip
MarcoGorelli e954e77
coverage
MarcoGorelli eab25f9
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli 47923e3
lint
MarcoGorelli d1c1e4d
pandas fixup
MarcoGorelli 01136c8
pandas cross-version fix
MarcoGorelli b9a4885
modin xfail
MarcoGorelli 4b67964
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli e3d32aa
support at least cum_sum(order_by) for dask
MarcoGorelli b371bb6
just raise for dask
MarcoGorelli e2ad3c6
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli fd1fad4
wip broken
MarcoGorelli 24f0961
post-merge fixup
MarcoGorelli 15e89f5
wip
MarcoGorelli 60162d1
document dask limitation
MarcoGorelli a7c71d6
correct xfail
MarcoGorelli 3ef02ea
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli fe2118d
use empty string in one test
MarcoGorelli 816f964
correct pandas logic for order_by with nulls
MarcoGorelli efc4862
pandas fix ungrouped case
MarcoGorelli 390ba3f
tmp: working for pyarrow, but does 2 sorts. can we do just one?
MarcoGorelli 1d3b8c3
more generic solution (supports duplicates in index)
MarcoGorelli ae72db4
hey, we really can avoid double-sorting for pandas1
MarcoGorelli 744fb7b
hey, we really can avoid double-sorting for pandas1
MarcoGorelli 0d30782
add comment about double-sort
MarcoGorelli d5ef86a
sqlframe/pyspark fix
MarcoGorelli 13b9474
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli ba8dab1
cross-version compat
MarcoGorelli 91978fe
more cross-version compat
MarcoGorelli 4710b1d
dask
MarcoGorelli 200015c
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli 8ff5635
factor out scatter_in_place
MarcoGorelli d40dc23
coverage
MarcoGorelli 5457898
correct comment
MarcoGorelli d3e0573
old pandas fix
MarcoGorelli 335cc8b
Merge remote-tracking branch 'upstream/main' into start-order-dependence
MarcoGorelli a516fef
use windowfunction type alias
MarcoGorelli 7f15b9e
simplify pandas implementation a bit
MarcoGorelli 8bf77f4
make sure that non-elementary expressions are supported if partition_…
MarcoGorelli c1c6de2
skip for old polars
MarcoGorelli 824d1b8
include missing file
MarcoGorelli 802fa09
xfail
MarcoGorelli 67700a1
Merge branch 'main' into start-order-dependence
MarcoGorelli 60ca848
fix typing
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.
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.