Xavier:面向表格数据处理脚本编写中更好的编码辅助
Xavier: Toward Better Coding Assistance in Authoring Tabular Data Wrangling Scripts
AI总结:
针对现有代码补全工具缺乏数据上下文关联的问题,提出Xavier工具,通过结合代码与数据上下文提供精准建议并即时预览转换结果,有效简化了表格数据处理脚本的编写。
摘要:
数据分析师在编写自定义脚本以处理复杂的表格数据处理任务时,经常使用代码补全工具。然而,现有工具未能充分将数据上下文(如模式和值)与正在编辑的代码关联起来。这不仅导致代码建议不佳,还因用户需要额外代码来定位和理解相关数据而频繁中断编码过程。我们引入了Xavier,这是一种旨在增强计算笔记本中数据处理脚本编写能力的工具。Xavier在提供数据感知代码建议的同时,保持用户对数据上下文的感知。它根据用户的代码自动高亮显示最相关的数据,结合代码和数据上下文以提供更准确的建议,并即时预览数据转换结果以便于验证。为评估Xavier的有效性和可用性,我们与16名数据分析师进行了用户研究,结果显示其具有简化数据处理脚本编写的潜力。
英文摘要:
Data analysts frequently employ code completion tools in writing custom scripts to tackle complex tabular data wrangling tasks. However, existing tools do not sufficiently link the data contexts such as schemas and values with the code being edited. This not only leads to poor code suggestions, but also frequent interruptions in coding processes as users need additional code to locate and understand relevant data. We introduce Xavier, a tool designed to enhance data wrangling script authoring in computational notebooks. Xavier maintains users' awareness of data contexts while providing data-aware code suggestions. It automatically highlights the most relevant data based on the user's code, integrates both code and data contexts for more accurate suggestions, and instantly previews data transformation results for easy verification. To evaluate the effectiveness and usability of Xavier, we conducted a user study with 16 data analysts, showing its potential to streamline data wrangling scripts authoring.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。