Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 3. Assign west_births to the total number of births that occurred in region 4 (the Western US). Hint: Make sure you double check the
Question 3. Assign west_births to the total number of births that occurred in region 4 (the Western US). Hint: Make sure you double check the type of the values in the region column, and appropriately filter (i.e. the types must match!). In [92]: west_births = sum(pop.where('REGION', are.equal_to('4')). column('BIRTHS')) west_births Out [92]: e In [93]: ok.grade("q2_3"); ~~~~~ Running tests q2 3 > Suite 1 > Case 1 >>> 5e5 < west_births < 1e6 False # Error: expected #3 True
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started