Question
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!
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started