preferred by men that women didn' rate as highlyreverse order of rowstake first rows in [ ]sorted_by_diff[::- ][: out[ ]gender goodthe bad and the uglythe ( kentucky fried moviethe ( dumb dumber ( longest daythe ( cable guythe ( evil dead ii (dead by dawn( hiddenthe ( rocky iii ( caddyshack ( for few dollars more ( porky' ( animal house ( exorcistthe ( fright night ( barb wire ( diff suppose instead you wanted the movies that elicited the most disagreement among viewersindependent of gender disagreement can be measured by the variance or standard deviation of the ratingsstandard deviation of rating grouped by title in [ ]rating_std_by_title data groupby('title')['rating'std(filter down to active_titles in [ ]rating_std_by_title rating_std_by_title ix[active_titlesorder series by value in descending order in [ ]rating_std_by_title order(ascending=false)[: out[ ]title dumb dumber ( blair witch projectthe ( natural born killers ( tank girl ( rocky horror picture showthe ( eyes wide shut ( evita ( billy madison ( fear and loathing in las vegas ( bicentennial man ( namerating you may have noticed that movie genres are given as pipe-separated (|string if you wanted to do some analysis by genremore work would be required to transform the genre information into more usable form will revisit this data later in the book to illustrate such transformation movielens data set www it-ebooks info