How many winners ended up getting unanimous jury votes to win the game. Create Dataframe that shows
Question:
How many winners ended up getting unanimous jury votes to win the game. Create Dataframe that shows the survivors that got unanimous jury votes with these columns in the final output: season, season_name, winner_id, full_name. The DataFrame should be sorted by season and the index should go from 0 to n-1. Save this as Q12.
DataFrame: survivor tables:
castaway_details columns: 'castaway_id', 'full_name', 'short_name', 'date_of_birth', 'date_of_death', 'gender', 'race', 'ethnicity', 'occupation', 'personality_type'
castaways columns: 'season_name', 'season', 'full_name', 'castaway_id', 'castaway', 'age', 'city', 'state', 'personality_type', 'episode', 'day', 'order', 'result', 'jury_status', 'original_tribe', 'swapped_tribe', 'swapped_tribe_2', 'merged_tribe', 'total_votes_received', 'immunity_idols_won'
jury_votes columns: 'season_name', 'season', 'castaway', 'finalist', 'vote', 'castaway_id', 'finalist_id'
challenge_results columns: 'season_name', 'season', 'episode', 'day', 'episode_title', 'challenge_name', 'challenge_type', 'outcome_type', 'challenge_id', 'winner_id', 'winner', 'winning_tribe', 'outcome_status'
vote_history columns: season_name', 'season', 'episode', 'day', 'tribe_status', 'castaway', 'immunity', 'vote', 'nullified', 'voted_out', 'order', 'vote_order', 'castaway_id', 'vote_id', 'voted_out_id'
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science
ISBN: 978-0324656633
5th edition
Authors: Cliff T. Ragsdale