Complete exercices for pydata book chapter 2.1