course_dv

Python Overview

This module introduces you to Python programming. You will know how to write some basic code, as well as use Copilot.

Outcomes:

Python:

Pandas:

Statistical:

Files:

Resources

See slides for an introduction to Python programming. My instructor notes are also available. These are more comprehensive than the slides and include additional examples and explanations.

Since we only have a week to cover Python, I will keep us at a very high level. We will cover the basics of Python syntax and data structures, but we won’t have time to go into depth.

My notes on these topics are available below. They are more comprehensive than we use in class, but can be a good resource for self-studying these topics.

Instructor Notes:

Expectations

You should be able to complete all of the problems in the files section above. Focus on being able to write the Basic problems, and read/explain code in the pandas tutorial. You should also be able to use Copilot to write code that accomplishes the same tasks as the problems and tutorial.

You should also be able to run a basic OLS regression using statsmodels, and interpret the results. You should be able to explain what the coefficients mean, and how to interpret the p-values.