Description
Respond to the NEXT TWO (2) questions. Write your response in a word document with the question's identification prominently displayed (for example, a screenshot of Jupyter code). Then, upload the file containing all of your responses to the LMS's Dropbox Assignment D2 folder.
Q1. Load the gapminder.tsv file into a DataFrame and create a scatter plot according to the guidelines below:
1) Only information from the year 2000 is utilized.
2) Using "lifeExp" as the x-axis and "gdpPercap" as the y-axis
3) The plot's points are all represented by solid circles in the shade "darkcyan." 4) The y-display axis's range is 0 to 50,000.
5) The x-axis is labeled "Life," while the y-axis is labeled "GDP."
6) The figure has a width of 4 and a height of 3.
Q2. Would you kindly create a DataFrame to analyze the employment rate for various nations? Create a DataFrame containing data for "labor participation rate" (see the source file: indicator t above 15 labour to pop percent. xlsx) and "employment rate" (see the source file: indicator t above 15 employ. xlsx) for different nations in different years.
1) Create two DataFrames from two original data sources using melt.
2) Combine the two DataFrames produced before.
3) Set a default value of 0 for any "NaN" values that are missing.
Unformatted Attachment Preview
Purchase answer to see full attachment
Explanation & Answer
View attached explanation and answer. Let me know if you have any questions.
Student Name
Institution
Course
Date
...