Editing Intro to Programming and Data Science (Spring 2020)/Day 4 Coding Challenges
From CommunityData
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 7: | Line 7: | ||
Using the baby names data from [[Community_Data_Science_Course_(Spring_2019)/Day_3_Coding_Challenges|The day 3 challenges]]: | Using the baby names data from [[Community_Data_Science_Course_(Spring_2019)/Day_3_Coding_Challenges|The day 3 challenges]]: | ||
# Get the ratio of names that start with each letter. | # Get the ratio of names that start with each letter. | ||
# | ## Do this for boys and girls. | ||
# | ## '''Hint''' First line of output should be something like: | ||
a: boys: 0.1002914920750592 girls: 0.17587602795796703 | |||
# Are girls or boys more likely to have a name that is used by both genders? | # Are girls or boys more likely to have a name that is used by both genders? | ||
# Figure out how to change the ssadata.py file so that it loads births from 2017 instead of 2018. | # Figure out how to change the ssadata.py file so that it loads births from 2017 instead of 2018. |