The Future of Notebook Programming Is Fluid

Mary Beth Kery, Donghao Ren, Kanit Wongsuphasawat, Fred Hohman and Kayur Patel

Abstract

A new kind of widget has begun appearing in the data science notebook programming community that can fluidly switch its own appearance between two representations: a graphical user interface (GUI) tool and plain textual code. Data scientists of all expertise levels routinely work in both visual GUIs (data visualizations or spreadsheets) and plaintext code (numerical, data manipulation, or machine learning libraries). These work tools have typically been separate. Here, we argue for the unique role and potential of fluid GUI/text programming to serve data work practices. We contribute a generalized method and API for robust fluid GUI/text coding in notebooks that addresses key questions in code generation and user interactions. Finally, we demonstrate the potential of our method in two notebook tool examples and a usability study with professional data science and machine learning practitioners.

Venue
CHI 2020
Volume
Extended Abstracts of the 2020 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3334480.3383085
PDF
https://dl.acm.org/doi/pdf/10.1145/3334480.3383085
Anthology ID
2020.chi-ea.490

Cite

@inproceedings{kery-etal-2020-future,
    title = {{The Future of Notebook Programming Is Fluid}},
    author = {Mary Beth Kery and Donghao Ren and Kanit Wongsuphasawat and Fred Hohman and Kayur Patel},
    booktitle = {Extended Abstracts of the 2020 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450368193},
    year = {2020},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3334480.3383085},
    url = {https://doi.org/10.1145/3334480.3383085},
    abstract = {A new kind of widget has begun appearing in the data science notebook programming community that can fluidly switch its own appearance between two representations: a graphical user interface (GUI) tool and plain textual code. Data scientists of all expertise levels routinely work in both visual GUIs (data visualizations or spreadsheets) and plaintext code (numerical, data manipulation, or machine learning libraries). These work tools have typically been separate. Here, we argue for the unique role and potential of fluid GUI/text programming to serve data work practices. We contribute a generalized method and API for robust fluid GUI/text coding in notebooks that addresses key questions in code generation and user interactions. Finally, we demonstrate the potential of our method in two notebook tool examples and a usability study with professional data science and machine learning practitioners.}
}