Question: Python Programming using Juypter Notebooks. I am confused on how to do this problem. Create a dataframe using a list of dictionaries. The dataframe records

Python Programming using Juypter Notebooks. I am confused on how to do this problem.

Create a dataframe using a list of dictionaries. The dataframe records the information for countries. For each country record the name, capital, population, area, minimum household income and the continent (Europe, Asia, Africa, North America, South America, Australia) it belongs to. There should be at least 18 rows of data (ideally 3 countries for each continent) and explain the attributes and their units using comments. Create a new column for population density and calculate it using the data from the population and area columns (population / area). Add the newly created column to the dataframe. Find out the country with the highest population and belonging to Asia. Find out the country which has a minimum household income greater than the average minimum household income across the dataframe.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!