Wrex: A Unified Programming-by-Example Interaction for Synthesizing Readable Code for Data Scientists

Best Paper
Interactive Data VisualizationTime-Series & Network Graph VisualizationComputational Methods in HCISoftware Engineers & DevelopersData Scientists & AnalystsStatisticians & Data Scientists

Data wrangling is a difficult and time-consuming activity in computational notebooks, and existing wrangling tools do not fit the exploratory workflow for data scientists in these environments. We propose a unified interaction model based on programming-by-example that generates readable code for a variety of useful data transformations, implemented as a Jupyter notebook extension called Wrex. User study results demonstrate that data scientists are significantly more effective and efficient at data wrangling with Wrex over manual programming. Qualitative participant feedback indicates that Wrex was useful and reduced barriers in having to recall or look up the usage of various data transform functions. The synthesized code allowed data scientists to verify the intended data transformation, increased their trust and confidence in Wrex, and fit seamlessly within their cell-based notebook workflows. This work suggests that presenting readable code to professional data scientists is an indispensable component of offering data wrangling tools in notebooks.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/chi/32172/2020

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3313831.3376442
At a Glance

Paper Snapshot

fact_check
dataset
Source
CHI
calendar_month
Year
2020
emoji_events
Award
Best Paper
group
Authors
5 authors
sell
Subtopics
Interactive Data Visualization, Time-Series & Network Graph Visualization, Computational Methods in HCI
work
Professions
Software Engineers & Developers, Data Scientists & Analysts, Statisticians & Data Scientists
article
Content Status
Abstract only
hub
Related Papers
10 related papers