Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hey, so I didnt link the csv file, but could you just write out the format of the answers, I included a picture of the

Hey, so I didnt link the csv file, but could you just write out the format of the answers, I included a picture of the file so you could see the headers. Thank you!

image text in transcribed

For the dataset, adultsData.csv (in the assignment folder), it is required to analyze the dataset to answer the following questions. Follow the data analysis process and highlight the different phases you follow throughout your analysis. Incorporate visualisation in your analysis and add comments that conclude your findings. Then, upload your final program as a single Jupyter Notebook file.

1.How many men and women are represented in this dataset?

2. What is the average age of women?

3. What is the percentage of German citizens and Canadian citizens?

4. What are the mean and standard deviation of the age for those who earn more than 50K per year and those who earn less than 50K per year?

5. What is the education level of people who earn more than 50K? Is it true that they have at least high school education?

6. Display age statistics for each race and each gender. Use groupby() and describe(). Find the maximum age of men and women in each race group.

7. Among whom is the proportion of those who earn greater than 50K: married or single? Consider as married those who have a marital-status starting with Married (e.g., Married-civ-spouse, Married-spouse-absent, Married-AF-spouse, etc.).

8. What is the maximum number of hours a person works per week? How many people work such a number of hours, and what is the percentage of those who earn more than 50K among them?

9. Count the average time of work (hours-per-week) for those who earn less than 50K and more than 50K for each country. Compare these averages for Japan and Canada.

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

Select Healthcare Classification Systems And Databases

Authors: Katherine S. Rowell, Ann Cutrell

1st Edition

0615909760, 978-0615909769

More Books

Students also viewed these Databases questions

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago