Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
About
People
Publications
Teaching
Resources
Research Blog
Wiki Functions
Recent changes
Help
Licensing
Page
Discussion
Edit
View history
Editing
Intro to Programming and Data Science (Spring 2020)/Day 4 Coding Challenges
From CommunityData
Jump to:
navigation
,
search
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.
Anti-spam check. Do
not
fill this in!
== Python for Everybody == Chapter 7: Exercises 1, 2, 3 == Baby Names == 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. #* Do this for boys and girls. #* '''Hint''' First line of output should be something like: #*: <pre>a: boys: 0.1002914920750592 girls: 0.17587602795796703</pre> # 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. == Above and beyond == # Figure out how to load two years of birth data simultaneously and compare them (e.g., identify the top 20 names from 2017 and figure out how many more/fewer people were named those names in 2018). # Visualize some of the differences (probably in Excel)
Summary:
Please note that all contributions to CommunityData are considered to be released under the Attribution-Share Alike 3.0 Unported (see
CommunityData:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:
Cancel
Editing help
(opens in new window)
Tools
What links here
Related changes
Special pages
Page information