Numpy
We cover all parts in the Numpy section: https://www.harrywang.me/blog/data-science-intro#numpy
- Create numpy arrays from Python lists
- slicing and dicing numpy array
- multi-dimensional arrays (axis)
- Element-wise arithmetic operations
- Aggregation functions (on different axes)
- Broadcasting: combining arrays of different shapes
- Finding where the maximum is:
argmax()andargmin() - Aggregating over multiple axes at once
In-Class Group Exercise
Form a team of three or more. Together, pick a problem you actually care about and write a Python program that solves it — then present it to the class in 2…
NumPy In-Class Exercise
You run a small coffee chain with three stores. For one month you recorded, for every store, every week, and every product, how many units were sold. That…