Repository navigation
UmdTask751_MSML610_Fall2026_Polars_Pandas_vs_Polars_Benchmark_on_Crypto_Trade_Data - #754
Open
dharmesh-12s wants to merge 5 commits into
Conversation
Pre-commit checks: All checks passed ✅
Author
|
Milestone 1 done: Binance ETHUSDT aggTrades ingestion (1, 7, 28 days), |
…oad benchmark Pre-commit checks: All checks passed ✅
…demo - polars.API: expressions, contexts, time series, lazy, streaming, and SQL on toy data - polars.example: ingest, pandas over a 1 GB memory budget, 8 workloads on 1/3/7 days, Polars streaming on 28 days - polars_utils: workloads in pandas and Polars, memory-budget runner, plots - Unit tests, Docker notebook tests, README, Dockerfile git safe.directory Pre-commit checks: All checks passed ✅
dharmesh-12s
marked this pull request as ready for review
December 4, 2026 18:01
Pre-commit checks: All checks passed ✅
This branch has not been deployed
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.
What
polars.API.ipynb: Polars concepts on a toy table of 8 trades, next to pandaspolars.example.ipynb: benchmark on a month of Binance ETHUSDT trades (16.6M rows)Why
class_project/project_descriptions/MSML610/Polars_Project_Description.md(updated Oct 1, PR UmdTask584_Improve_research_ideas_2 #592): compare pandas and Polars on real market-data workloads
How It Works
bars, rolling volatility, as-of join) plus SQL, timed in pandas, Polars eager, and lazy
sink_parquet()README.mdfor the quick startDecisions
data/, which is gitignoredpsutiland stopped above the budget, so the notebook kernel survives
Evidence
finishes in 0.5 s at about 250 MB (pandas without a budget: 1,770 MB, 11.6 s)
test/test_polars_utils.py: 13 unit tests (every workload pandas == Polars eager ==lazy, SQL, streaming, memory budget), 13 passed in Docker with
./docker_cmd.sh "cd /git_root && pytest <project_dir>/test/test_polars_utils.py"test/test_docker_polars.py: runs both notebooks in DockerNot in This PR
Questions for Reviewers