potentialpaper

Optimizing Pandas Code for Heterogeneous Backends

Anonymous authors

VERICODEGEN @ NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Data scientists rely on pandas for building data-processing workflows due to its expressive API and rich ecosystem, but Python’s Global Interpreter Lock and single-threaded execution model make pandas a performance bottleneck at scale.

We propose PandaX, a system for automatic optimization and heterogeneous scheduling of pandas workflows across CPU and GPU backends. PandaX uses a multi-agent LLM-based rewriting framework to transform inefficient pandas code into backend-targeted, high-performance equivalents, guided by profiling feedback, correctness validation, and formal equivalence checking. It then applies a learned cost model and a dynamic programming scheduler to assign each code block to the backend that minimizes end-to-end execution time, explicitly accounting for computation and data-transfer costs.

To make optimization practical, PandaX performs rewriting and scheduling using small data samples and extrapolates performance to full datasets via learned execution and transfer models. Experimental results on 25 real-world data-science workflows and 22 TPC-H queries show that PandaX achieves up to speedup over pandas on real workloads and on TPC-H, significantly outperforming existing GPU-accelerated pandas frameworks and bridging the gap between ease of use and high-performance heterogeneous execution.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
12 Sep 2026VERICODEGEN @ NeurIPS 2026submittedVERICODEGEN @ NeurIPS 2026Accepted · Poster—[1]
19 Sep 2026ICLR 2027submittedICLR 2027Desk rejectedreviews ↓[1]PDF[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

ICLR 2027

Desk rejected · OpenReview

Updated 24 Nov 2026, 17:00 UTC.

The venue hasn't published any reviews yet.

Missing a submission?

Loading the discussion…