M11 - Python for R Users

ENV 872 - EDA   |   Spring 2024   |   Instructors: Luana LimaJohn Fay  |  

Here, we provide you with some recorded instructions and worksheets to explore how the “other” language, i.e. Python, compares to R in some basic data analytic processes. We’ve written a set of Jupyter notebooks that mimic a number of the lessons we covered in R. The idea here is not to seek proficiency in Python, but rather a guided introduction to the language in a way that leverages your new knowledge of R.

While RStudio can be configured to run Python, it’s still a bit buggy. So instead, we’ll use some preconfigured containers that allow us to run Python in Jupyter notebook format. We will use Duke’s Jupyter container, but you can also use Binder and Google’s Colab as alternatives if you wish. (The benefit of using Duke’s container is that it allows your work to persist by default.)

Instructions on how to get started and the material is all on a GitHub repository located here:
https://github.com/ENV872/PythonForRUsers

Recordings

Assignment “Key”

  • This page displays what your output should look like (code is omitted).