Skip to content

corley-kilgore submission#3

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

corley-kilgore submission#3
mcorley1 wants to merge 7 commits into
lyy005:masterfrom
mcorley1:master

Conversation

@mcorley1

Copy link
Copy Markdown

No description provided.

sortgender = uniquegender.sort_values(["gender","yearsExperience"])

sortgender.to_csv("part1done.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

#Number of females in the top 10
num_of_females=df[df['wage']>=df['wage'].nlargest(10).iloc[-1]]['gender'].eq('female').sum()
#Output is under num_of_females (=2)

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


#Calculate the difference between the minimum wage for those who finished school vs. those who didn't
print(minimum16-minimum12)
#Difference is 4.0816223772 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.

Good job

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