This repository contains lecture slides, exercises, and deployment scripts for Foundations of Numerical Computing, a tutorial given by Scott Sanderson at PyCon 2018.
You try the lecture and exercise notebooks on binder by clicking the button above.
The materials in this repository are organized as follows:
-
Lecture.ipynb contains the notebook used by the presenter during the lecture sections of the tutorial.
-
Finding Functions and Documentation.ipynb is a notebook used as a warmup exercise to get students comfortable with Jupyter. It shows you how to use
np.lookfor
to search Numpy by keyword, and it shows you how to read function documentation using Jupyter's?
operator. -
Creating and Reshaping Arrays contains exercises that teach students how to create and reshape arrays.
-
Universal Functions contains exercises that teach students how to use Numpy's universal functions.
-
Selections contains exercises that teach students how to use the ndarray
[]
operator to select data. -
Reductions contains exercises that teach students how to apply reduction functions like
min
,max
, andmin
across arrays. -
Broadcasting contains exercises that teach students how to use broadcasting in conjunction with the other techniques shown during the tutorial.
Each notebook also has an associated (Solutions) notebook that contains worked solutions for each of the exercises.