Static Analysis of Data Transformations in Jupyter Notebooks


연구 분야: Strategies



학회: SOAP 2023: Proceedings of the 12th ACM SIGPLAN International Workshop on the State Of the Art in Program Analysis


초록

Jupyter notebooks used to pre-process and polish raw data for data science and machine learning processes are challenging to analyze. Their data-centric code manipulates dataframes through call to library functions with complex semantics, and the properties to track over it vary widely depending on the verification task. This paper presents a novel abstract domain that simplifies writing analyses for such programs, by extracting a unique CFG from the notebook that contains all transformations applied to the data. Several properties can then be determined by analyzing such CFG, that is simpler than the original Python code. We present a first use case that exploits our analysis to infer the required shape of the dataframes manipulated by the notebook.


Author Profile
Luca Negrini

Corvallis Italy

Italy
Author Profile
Guruprerana Shabadi

École Polytechnique France / Institut Polytechnique de Paris France

France
Author Profile
Caterina Urban

Inria Paris France / ENS France

France

📄 논문 정보

발행 연도 2023년
인용수 8
출판 국가 Italy, France
사이트 ACM
좋아요 수 0

연관 논문 목록 (30건)