ECON 3209 · Week 3, Lecture 3 · Kerala Agricultural University
Autumn 2026
By the end of this lecture, you will be able to:
ddof=1 gives the sample standard deviationaxis=0 means compute down each columnaxis=1 means compute across each row-1 and 1seed() makes results reproducible for teaching and research0 and 1Always combine numerical summaries with domain knowledge about crops, climate, markets, and institutions.
Create a NumPy array of coconut yields: 9000, 10400, 9800, 11200, 10750.
0 and standard deviation 150 using a fixed seed.axis lets us summarise rows or columns of matricesECON 3209 — Kerala Agricultural University