Python

Python Crash Courses

University Libraries at the University of North Carolina at Chapel Hill
UNC Research Computing

Setup

Installing the Anaconda Distribution.

If you run into problems during installation, please come 30 minutes early to the first session for help.

View our introductory orientation to Python and Spyder (YouTube) before Week 1.

Week 1

We’ll be quickly introducing fundamental Python concepts like variables, object types, and indexing.

The concepts are covered in more depth in our full-length Introductory Materials, if you’d like to review beforehand.

Week 2

We’ll introduce Jupyter Notebooks and literate programming. Then we’ll return to the Introductory Materials to review fundamental concepts, packages, file paths, and a few important extensions. Finally, we’ll work through an example using data on COVID-19.

Week 3

We’ll review Jupyter Notebooks and literate programming, then move along to the basics of working with packages and file paths in Python. Finally we’ll introduce one of Python’s foundational data manipulation packages, Pandas.

Week 4

We’ll continue working with Pandas, dealing with a real dataset, and extending into other packages for data visualization.

Practice Exercises (Introduction)

Exercises
Solutions

Pandas Exercises (Week 3/4)

Exercises
Solutions

Getting Help!

References and Resources

Watch this page for more updates!