Python for an R User: Interview Prep

A 5-module Python refresher targeted at applied economist / data science interviews in tech. The goal: walk into a 30-minute Python coding portion and write any of the canonical analytical queries without thinking about syntax. Stack: pandas + statsmodels.

Quick start

git clone https://github.com/fhoces/python-for-r-users
cd python-for-r-users
Rscript data/build_csvs.R       # build the synthetic CSVs (requires R)
python module-01/exercise.py

Modules

#ModuleStatus
1 Python for R Users — the cheat sheet ✓ done
2 pandas basics — the dplyr → pandas translation ✓ done
3 Joins, merges, group-by recipes — from one-liners to real analysis ✓ done
4 Regression and A/B tests with statsmodels — the module where Python feels comfortable for an econometrician ✓ done
5 End-to-end interview scenario — putting it all together ✓ done

Companion courses

Source: github.com/fhoces/python-for-r-users