Repository navigation
Sync polars-vs-pandas with the updated tutorial - #931
Merged
Merged
Conversation
…: What's the Difference? Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Maintenance sync for the tutorial Polars vs pandas: What's the Difference?.
What changed
streaming_test.py:analyze_polars_lazyframe()now calls.collect(engine="in-memory"). Since Polars 2.0,LazyFrame.collect()resolves to the streaming engine by default, so the script was comparing streaming against streaming.requirements.txt: re-pinned to the article's updated dependencies (Python 3.14, polars 2.1.0, pandas 3.1.0, pyarrow 26.0.0, narwhals 2.28.0, altair 6.3.0, matplotlib 3.11.2, jupyterlab 4.6.5), regenerated as a full freeze.Verification
Fresh Python 3.14.9 venv installed from the new pins. Ran
benchmark.py 500,streaming_test.py 100000,conversions.py, andpandas_polars_demo.py(all exit 0), executedplots.ipynbwithjupyter nbconvert --executeandMPLBACKEND=Agg(no errors).ruff@0.14.1 format --checkandruff checkpass.🤖 Generated with Claude Code