Question: I'm working with a data frame called 'best_athlete' that has the columns 'season number', 'athlete name', 'finalist name', 'vote', 'athlete id', and 'finalist id'. The
I'm working with a data frame called 'best_athlete' that has the columns 'season number', 'athlete name', 'finalist name', 'vote', 'athlete id', and 'finalist id'. The column 'vote' is either 0 or 1. I want to determine how many finalists got unanimous votes to win the game. Then, I want to make a dataframe that shows the finalists that got unanimous votes with these columns in the final output: 'season number', 'finalist id', 'finalist name'.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
