-
Notifications
You must be signed in to change notification settings - Fork 41
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
Update pandas queries #104
Conversation
85ae04b
to
0bb7759
Compare
Generally looks good - I haven't checked through every line carefully, but I have tried running these, and now the timings of "pandas running native queries" and "pandas running Polars queries via Narwhals" are aligned: Before, for Q2, "pandas native" was 4 times faster than "pandas via Narwhals" - I thought it was a bug in Narwhals, but it turned out was all the manual reordering of operations 😄 I think the small differences that remain are statistical error |
78f0619
to
0fbfd6c
Compare
0fbfd6c
to
c074c2a
Compare
Thanks for checking, @MarcoGorelli ! I updated pandas/Dask/Modin with the new queries. |
Closes #96
This updates the pandas queries to remove any manual optimizations. No more join reordering and no more pre-selecting relevant columns.
This should make it closer to the original SQL query.