Skip to content

MSML610_Fall2026_Polars_Pandas_vs_Polars_Benchmark_on_Crypto_Trade_Data #751

Open

Description

@dharmesh-12s

Project: Polars – Project 1 (Fall2026): Pandas vs Polars Benchmark on Crypto Trade Data
Spec: https://github.com/gpsaggese/gpsaggese.github.io/blob/master/class_project/project_descriptions/MSML610/Polars_Project_Description.md
Author: @dharmesh-12s

Activity

  1. moved this from Todo to To review in Researchon Oct 25, 2026
  2. dharmesh-12s commented on Dec 5, 2026

    @dharmesh-12s
    Author

    @gpsaggese The Polars project is ready for review in PR #754.

    • polars.API.ipynb: Polars expressions, contexts, time series, lazy queries, streaming, and SQL, each next to pandas
    • polars.example.ipynb: benchmark on a month of Binance ETHUSDT trades (16.6M rows)
      • Polars loads CSV 6.7x to 11.8x faster, and is 3x to 6x faster on grouping and joins
      • On the full month under a 1 GB memory budget, pandas, Polars eager, and Polars lazy run out of memory, while Polars streaming finishes in 0.5 s at about 250 MB
    • Tests: 13 unit tests plus Docker notebook tests

    Note: I signed up when the Polars spec listed "E-commerce Customer Segmentation". The spec was updated on Oct 1 (PR #592) to the crypto benchmark, and I followed the updated version.

    The video walkthrough will be added here once it is uploaded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions