Homework 4 In this HW, we will study the pay gap between men and women who have jobs in San Francisco.
Homework 4
In this HW, we will study the pay gap between men and women who have jobs in San Francisco. We will use the following two csv files to accomplish this task.
Salaries.csv : contains salaries for over 100K employees in SF from 2011 to 2014.
Names.csv : contains baby names from 1980 to 2014 along with counts of how many times the given baby name was used.
We would like to find the average salary of men and women over all jobs from 2011 to 2014. The problem, however, is that the Salaries.csv does not contain gender. Futher, there are many names that are unisex. Since we have counts in the file Names.csv, we use a majority vote to label the gender of each name in Names.csv.
You will be asked to write a series of functions to implement this task.
Note: Unlike previous homeworks, the problems in this homework are inter-dependent in the sense that you can only pass the test for problem n if you have passed the test cases in problem n-1, since normally problem n requires to call the function in problem n-1.
Collepals.com Plagiarism Free Papers
Are you looking for custom essay writing service or even dissertation writing services? Just request for our write my paper service, and we'll match you with the best essay writer in your subject! With an exceptional team of professional academic experts in a wide range of subjects, we can guarantee you an unrivaled quality of custom-written papers.
Get ZERO PLAGIARISM, HUMAN WRITTEN ESSAYS
Why Hire Collepals.com writers to do your paper?
Quality- We are experienced and have access to ample research materials.
We write plagiarism Free Content
Confidential- We never share or sell your personal information to third parties.
Support-Chat with us today! We are always waiting to answer all your questions.