NumPy Arrays
Science works with many numbers at once. A list can hold them, but it cannot do maths on them. The NumPy array can. In this course you make arrays with array, arange and linspace, write a formula once and use it on a whole array, pick numbers with indexes, slices and boolean masks, and find sums, averages and standard deviations of rows and columns of tables. You learn to be careful with slices, which are views and not copies, and with broadcasting, which lets arrays of different shapes work together. A project finds the best angle for a throw on Earth and on the Moon. The practice runs your code and tells you which results are wrong.