Skip to content

holm-loh submission#6

Open
sorenh25 wants to merge 7 commits into
lyy005:masterfrom
sorenh25:master
Open

holm-loh submission#6
sorenh25 wants to merge 7 commits into
lyy005:masterfrom
sorenh25:master

Conversation

@sorenh25

Copy link
Copy Markdown

Submission by Soren and Zoe

Comment thread challenge.py
genderYears.drop_duplicates(['gender','yearsExperience'], keep='first', inplace=True)
genderYears.sort_values(['gender','yearsExperience'], ascending=[True, True], inplace=True)
genderYears.to_csv('uniqueGenderYears.txt', sep=' ')

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

Comment thread challenge.py

print("Lowest earner:")
print(wages.loc[wages['wage'].argmin(), ['gender', 'yearsExperience', 'wage']])

@lyy005 lyy005 Oct 5, 2017

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't find the answer to the number of females in the top ten earners

-0.25

Comment thread challenge.py
print("Average salery for college graduates:")
print(collegeSalery)
print("Average salery for high school graduates:")
print(highSchoolSalery) No newline at end of file

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good. But the question was asking the difference of the minimum wage (not average) between the two groups.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants