Another chapter of pandas book partially practiced