dfArena: An Empirical Study of Coding Agent Behavior in DataFrame Programming

As enterprises increasingly adopt AI agents for data analytics, coding agents are emerging as a natural-language interface for building DataFrame-based analysis and preparation workflows. In practice, users may start with unclear requests, refine them through multiple rounds of interaction, and target backends beyond widely used pandas, such as PySpark. In this setting, it remains unclear how reliably agents interpret users' requirements and generate correct DataFrame programs across backends. We present dfArena, an evaluation framework for agentic DataFrame programming. It comprises 472 curated workloads from DataAgentBench, PrepBench, and PandasBench, covering natural-language-driven DataFrame generation and pandas workflow migration. We evaluate configurations based on five models and three agent harnesses on pandas, Polars, Ibis, and PySpark, examining correctness, human-agent interaction behavior, failure mechanisms, and API cost. Our findings reveal three patterns. First, as model capability improves, the main bottleneck shifts from code implementation toward requirement interpretation; with users' clarified requirements, DataFrame backends' differences pose little obstacle to the strongest model. Second, user clarification can help agents resolve unclear requirements, but imprecise replies can be harmful, particularly for strong models. A reusable clarification skill improves the weaker evaluated model's accuracy but provides no gain for the strongest model, suggesting that it may already possess some of the clarification capabilities described by the skill. Third, when the budget allows, stronger models can offer better value on harder workloads. These findings inform when to rely on coding agents, how to communicate analytical requirements, and how to select models and harnesses.

Authors

Institutions

Publication Details

Journal
arXiv
Published
2026-12-02
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

dfArena: An Empirical Study of Coding Agent Behavior in DataFrame Programming

Weizheng Lu, Yueguo Chen, Yanjie Gao, Zhaoyang Ma et al.
arXiv
Software Engineering Research
preprint

dfArena: An Empirical Study of Coding Agent Behavior in DataFrame Programming

Weizheng Lu, Yueguo Chen, Yanjie Gao, Zhaoyang Ma, Wei Lu
preprint en

Abstract

As enterprises increasingly adopt AI agents for data analytics, coding agents are emerging as a natural-language interface for building DataFrame-based analysis and preparation workflows. In practice, users may start with unclear requests, refine them through multiple rounds of interaction, and target backends beyond widely used pandas, such as PySpark. In this setting, it remains unclear how reliably agents interpret users' requirements and generate correct DataFrame programs across backends. We present dfArena, an evaluation framework for agentic DataFrame programming. It comprises 472 curated workloads from DataAgentBench, PrepBench, and PandasBench, covering natural-language-driven DataFrame generation and pandas workflow migration. We evaluate configurations based on five models and three agent harnesses on pandas, Polars, Ibis, and PySpark, examining correctness, human-agent interaction behavior, failure mechanisms, and API cost. Our findings reveal three patterns. First, as model capability improves, the main bottleneck shifts from code implementation toward requirement interpretation; with users' clarified requirements, DataFrame backends' differences pose little obstacle to the strongest model. Second, user clarification can help agents resolve unclear requirements, but imprecise replies can be harmful, particularly for strong models. A reusable clarification skill improves the weaker evaluated model's accuracy but provides no gain for the strongest model, suggesting that it may already possess some of the clarification capabilities described by the skill. Third, when the budget allows, stronger models can offer better value on harder workloads. These findings inform when to rely on coding agents, how to communicate analytical requirements, and how to select models and harnesses.

arXiv
Microsoft Research Asia (China) (CN), Renmin University of China (CN)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon