Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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

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'

Step by Step Solution

There are 3 Steps involved in it

Step: 1

To create the DataFrame Q12 that shows the survivors who received unanimous jury votes to win the g... blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spreadsheet Modeling And Decision Analysis A Practical Introduction To Management Science

Authors: Cliff T. Ragsdale

5th Edition

324656645, 324656637, 9780324656640, 978-0324656633

More Books

Students explore these related Programming questions