wesm / pydata-book

Materials and IPython notebooks for "Python for Data Analysis" by Wes McKinney, published by O'Reilly Media
Other
22.27k stars 15.2k forks source link

Ch2: an outdated version arguments #66

Closed toddlerya closed 7 years ago

toddlerya commented 7 years ago

In put 116: older ==> mean_ratings = data.pivot_table('rating', rows='title', cols='gender', aggfunc='mean') new ==>mean_ratings = data.pivot_table('rating', index='title', columns='gender', aggfunc='mean')

wesm commented 7 years ago

Fixed in 2nd edition