Closed toddlerya closed 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')
Fixed in 2nd edition
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')