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

I need help with both problems 7 and 8. See the image below. Assume that merged is a dataframe with the necessary variables. I did

I need help with both problems 7 and 8. See the image below. Assume that "merged" is a dataframe with the necessary variables.

I did not include the actual dataset of 2019. The dataset of 2019 comes from a merged file that I have to write the code for it to only retrieve the 2019 data from the merged file. The file is not included in this question. Please assume that I was able to call the 2019 data.

That's where the code comes in below:

year2019 = merged[merged['Year'] == '2019']

What is the next code to call any 10 countries from the year2019 dataframe? Please show the process from this point onward. as to the code to select 10 countries from year2019 dataframe, select any three firelds for the chart (such as population, life expectancy, and life ladder) for the chart to create the bubble chart.

image text in transcribed

Problem 7 (6 pts.): - Use only 2019 data. - From the 2019 data, select any 10 countries to create a plotly bubble chart. - Also select any three fields for the chart. Keep in mind that the size of the bubble helps to provide insight to the chart; consider this when choosing which variable to represent the bubble. - Make sure your plot has x axis labels, y axis labels and a title. H \# TODO: Create a subset of 10 countries using only 2019 data year 2019=merged[merged[ 'Year' ]== '2019'] Problem 7 continued: Create a bubble chart. N \# TODO: Create bubble chart Problem 8 (3 pts.): - Explain in a Markdown cell why you chose the 10 countries that you did. - Explain why you chose the three variables you did. - How would you interpret the chart

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

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students explore these related Databases questions