This notebook will introduce you to programming in Python, and using the Jupyter Notebook environment. Just download the notebook, create a folder in the same directory called "figures" and work your way through the code. Things we cover:
- Python/Jupyter basics including MarkDown/Mathjax
- Data types
- Boolean logic
- Flow control (for/while loops, if statements)
- Functions
- Pandas basics (reading csv files, manipulating data frames, groupby summaries)
- Matplotlib basics (making plots, saving plots)
- Merging concepts
- Basic analysis (OLS with Statsmodels and Sklearn)
Note that errors in the code are deliberate for illustration.