Python

All programming in this course is done with Python because of its data analysis packages and other useful tools. In addition to the online course, the summer program starts off with a review of Python, data structures, and some specific Python packages. This extra preparation ensures that students are ready to efficiently apply their knowledge of Python for crisis response.

Github Repos

00-InitialSetup
01-Intro-to-python
02-visualization-and-shapes

Topics Covered

  1. How to use Jupyter/Colab Notebooks
  2. Install system packages with apt, and python packages with pip
  3. Fundamentals of python and programming:
    • packages
    • loops and conditionals
    • functions
    • data structures: lists, dictionaries, iterators
  4. Numpy
    • arrays
    • indexing
    • matrix math
    • summary functions (max, min, std, avg)
  5. Pandas
    • column names, data types
    • filtering and logical indexing
    • joining, pivoting
    • generating statistics
  6. Visualizing data
    • matplotlib, histograms, heatmaps, imshow
    • time series, graphs