Editing Community Data Science Course (Spring 2023)/Week 3 coding challenges
From CommunityData
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 40: | Line 40: | ||
== #3 A sense of what's common == | == #3 A sense of what's common == | ||
# What is the most common name for each gender in | # What is the most common name for each gender in 2021? | ||
# What is the least common name? | # What is the least common name? | ||
# How often do the least common names occur? (Does your answer to this question bother you? Why?) | # How often do the least common names occur? (Does your answer to this question bother you? Why?) | ||
Line 59: | Line 59: | ||
'''Note:''' Obviously, you won't be able to include your Google Sheet result into your notebook. Instead, please put it online somewhere (e.g., in Google Drive, or OneDrive, or Dropbox or similar) create a link for sharing that doesn't requiring signing in, and put that link into your notebook so we can click through and look at it! | '''Note:''' Obviously, you won't be able to include your Google Sheet result into your notebook. Instead, please put it online somewhere (e.g., in Google Drive, or OneDrive, or Dropbox or similar) create a link for sharing that doesn't requiring signing in, and put that link into your notebook so we can click through and look at it! | ||
== #6 | == #6 Name twins == | ||
Note: this question asks you about 'averages' -- we're going to work on suggestions for making this a bit easier to think through -- don't get stuck here until we've made an update and removed this message :) | |||
# What percentage of boys have one of the 10 most popular boys names? What percentage of girls have one of the 10 most popular girls names? | # What percentage of boys have one of the 10 most popular boys names? What percentage of girls have one of the 10 most popular girls names? | ||
# | # Create a list of names where over 90% of the children with that name are girls (i.e., it's a much more popular name for girls than for boys)? And the same for boys? How long are those lists? | ||
# Now create the same list but only include names that are given to at least 1000 children total. Why are the answers different? | |||
== #7 Something extra == | == #7 Something extra == |