Introduction to Python

I have developed an interactive introduction to the Python programming language using Colab Notebooks, which you can access below. The introduction requires no prior knowledge of Python and is comprised of three notebooks. The notebooks are run entirely in the cloud and require no setup to use. Try to open one of the notebooks below!

Some of the material in the notebooks is based on Python for Data Analysis (3rd Edition) by Wes McKinney (2022).

Colab Notebooks without answers

Colab Notebooks with answers

Custom functions

Data

The data in "National_Carbon_Emissions_2021v1.0.xlsx" is from the Global Carbon Project (2019).

The data in "usa.xlsx"  is from the World Development Indicators database of the World Bank and the Global Carbon Project (2019).