Question: I have a data frame called 'Top_Chef', which is a TV show. The data frame has the columns 'Season Number', 'Season Name', 'Castaway Name', 'Castaway
I have a data frame called 'Top_Chef', which is a TV show. The data frame has the columns 'Season Number', 'Season Name', 'Castaway Name', 'Castaway ID', 'Winner Name', 'Winner ID' and 'Jury Vote'. The column 'Jury Vote' is either 1 (a unanimous vote) or 0 (a non-unanimous vote). I want to find how many winners ended up getting unanimous jury votes to win the the show. I want to create a Dataframe that shows the winners that got unanimous jury votes with these columns in the final output: Season Number, Season Name, Winner ID, Winner Name. The DataFrame should be sorted by season and the index should go from 0 to n-1. Save this as Q1.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
