Cookbook text fix
Closes #8944

@SteveSimmons Make a new branch off of master, then use `git cherry-pick 1b0db93`.
 @SteveSimmons yep, good catch (`size` was only introduced recently for DataFrame, see #8847, this is the reason it was working before)
 @SteveSimmons need to rebase/squash this on master
 @SteveSimmons I guess you deleted this branch? want to resubmit?
 Yes, i will redo that branch. I am still learning about git, making clean commits, rebasing branches against upstream head, and have made some mistakes along the way. e.g. i am still not clear if I should worry a push is x commits behind head.

On 3 December 2014 22:29:29 GMT+00:00, jreback notifications@github.com wrote:

> @SteveSimmons I guess you deleted this branch? want to resubmit?
> 
> ---
> 
> Reply to this email directly or view it on GitHub:
> https://github.com/pydata/pandas/pull/8957#issuecomment-65503320

## 

Sent from my Android device with K-9 Mail. Please excuse my brevity.
