A practical course on working with large-scale datasets in Python: functional programming and parallelism, collecting data from the web, the Hadoop ecosystem, and data processing and machine learning with Apache Spark. It is designed for public servants (economists, statisticians and data scientists in government) and for data scientists who already know how to analyse data and want to learn the techniques for large-scale datasets.
Participants: start at the website. It's where you'll find:
- the syllabus and schedule
- a page for each module, with lecture slides (English and French), notebooks and exercises
- step-by-step setup instructions for your computer
- where to download the course datasets
This repository holds the source files for the website.
Follow the setup guide on the website. It starts from scratch (you don't need Python installed already), and a single step installs everything the course needs: Python, Jupyter, Java and PySpark. You don't need to install PySpark separately. The Module 4 Hadoop labs run on a shared cluster in Google Cloud, so there is nothing extra to install.
Already use conda (Anaconda or Miniforge)? Short version
git clone https://github.com/worldbank/BDA-with-Python.git
cd BDA-with-Python
conda env create -f environment.yml # installs Python packages, Jupyter, Java 17 and PySpark
conda activate bda
jupyter labThen open notebooks/00-intro-to-python/00-check-setup.ipynb and run all cells to confirm everything, including Spark, works.
Instructors and contributors: see the
contributing guide.
The website is built with Quarto and published automatically when changes are
merged into main.