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.

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter4: Analyzing And Charting Financial Data
Section: Chapter Questions
Problem 2.5CP
icon
Related questions
icon
Concept explainers
Question

adultsData.csv file: https://onq.queensu.ca/d2l/common/viewFile.d2lfile/Database/MzA1MzUwMzA/adultsData.csv?ou=748849

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.
Transcribed Image Text: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.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning