Python Data Analysis
Learn Python programming through practical data analysis using real-world datasets. Master fundamental Python concepts while working with pandas, matplotlib, and data visualization.
This page is adapted from the Software Carpentry Python Gapminder lesson, Copyright (c) The Carpentries. The original material is licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).
Changes made: Content has been modified and expanded by Innovations for Poverty Action (IPA) to include IPA-specific examples and context relevant to research data analysis.
Original citation: Achterberg, et al. (2024). swcarpentry/python-novice-gapminder: Software Carpentry: Plotting and Programming in Python (v2024.6.27.1). Zenodo. https://doi.org/10.5281/zenodo.12167686
This lesson is an introduction to programming in Python 3 for people with little or no previous programming experience.
Prerequisites
Learners need to understand what files and directories are, what a working directory is, and how to start a Python interpreter.
Learners must install Python 3 and required packages before the class starts. We use uv, a modern Python package manager that makes setup simple.
Learners must get the gapminder data before class starts: please download and unzip the file python-data-analysis-data.zip.
Please see the setup instructions for detailed installation steps using uv.