Integrating AI for Seamless R to Python Code Conversion with Quarto in Data Science Courses

Cathy Poliak First Author
University of Houston
 
Cathy Poliak Presenting Author
University of Houston
 
Wednesday, Aug 6: 11:05 AM - 11:20 AM
1904 
Contributed Papers 
Music City Center 
Trained as a statistician using R, the shift to teaching Introduction to Data Science courses with Python presents a challenge for instructors who are more familiar with R. AI has proven to be a valuable tool in converting R code into Python, allowing both languages to be seamlessly integrated into the curriculum. By using AI to automatically convert R code into Python, I've been able to seamlessly integrate both languages into my lectures. In this paper, I will demonstrate how to utilized AI for R-to-Python code conversion and show how to incorporate the side-by-side code in Quarto documents alongside Beamer presentations. This approach not only helps to teach both languages effectively but also enhances the learning experience for students by exposing them to multiple programming paradigms in real-time.

Keywords

AI in Education

R to Python Conversion

Data Science Education

Quarto for Teaching

AI-Assisted Code Translation 

Main Sponsor

Section on Statistics and Data Science Education