Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

use python Part 1 Task 1 Which country has won the most gold medals in summer games? This function should return a single string value.

use python image text in transcribed
Part 1 Task 1 Which country has won the most gold medals in summer games? This function should return a single string value. Task 2 Which country had the biggest difference between their summer and winter gold medal counts? This function should return a single string value. Task 3 Which country has the biggest difference between their summer gold medal counts and winter gold medal counts relative to their total gold medal count? (Summer Gold-Winter Gold)/Total Gold Only include countries that have won at least 1 gold in both summer and winter. This function should return a single string value. Task 4 Write a function that creates a Series called "Points" which is a weighted value where each gold medal (Gold.2) counts for 3 points, silver medals (Silver.2) for 2 points, and bronze medals (Bronze.2) for 1 point. The function should return only the column (a Series object) which you created. This function should return a Series named Points of length 146 Part 1 Task 1 Which country has won the most gold medals in summer games? This function should return a single string value. Task 2 Which country had the biggest difference between their summer and winter gold medal counts? This function should return a single string value. Task 3 Which country has the biggest difference between their summer gold medal counts and winter gold medal counts relative to their total gold medal count? (Summer Gold-Winter Gold)/Total Gold Only include countries that have won at least 1 gold in both summer and winter. This function should return a single string value. Task 4 Write a function that creates a Series called "Points" which is a weighted value where each gold medal (Gold.2) counts for 3 points, silver medals (Silver.2) for 2 points, and bronze medals (Bronze.2) for 1 point. The function should return only the column (a Series object) which you created. This function should return a Series named Points of length 146

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

More Books

Students also viewed these Databases questions

Question

How do surrogate keys obtain their values? AppendixLO1

Answered: 1 week ago

Question

Identify the four conditions necessary for a risk to be insurable.

Answered: 1 week ago