English

PyTond: Efficient Python Data Science on the Shoulders of Databases

Databases 2024-07-17 v1 Programming Languages

Abstract

Python data science libraries such as Pandas and NumPy have recently gained immense popularity. Although these libraries are feature-rich and easy to use, their scalability limitations require more robust computational resources. In this paper, we present PyTond, an efficient approach to push the processing of data science workloads down into the database engines that are already known for their big data handling capabilities. Compared to the previous work, by introducing TondIR, our approach can capture a more comprehensive set of workloads and data layouts. Moreover, by doing IR-level optimizations, we generate better SQL code that improves the query processing by the underlying database engine. Our evaluation results show promising performance improvement compared to Python and other alternatives for diverse data science workloads.

Keywords

Cite

@article{arxiv.2407.11616,
  title  = {PyTond: Efficient Python Data Science on the Shoulders of Databases},
  author = {Hesam Shahrokhi and Amirali Kaboli and Mahdi Ghorbani and Amir Shaikhha},
  journal= {arXiv preprint arXiv:2407.11616},
  year   = {2024}
}

Comments

Extended version of ICDE 2024

R2 v1 2026-06-28T17:42:53.890Z