I was working on something very similar (different question set, but same idea). I am working from 101 NumPy Exercises for Data Analysis (Python).
The only significant difference is I am trying to do them in one-liner format; Python's semantically meaningful whitespace makes doing
command line scripting painful. Very quick data analyses can be done at the terminal in Perl, if you know what PDL modules to use.
I posted a few examples on my public scratchpad. I don't have whole lot written, but some guidance and feedback would be helpful. PDL is
a lot of fun to use!