Closed amyheather closed 2 years ago
https://www.pythonhealthdatascience.com/content/02_stat_prog/04_solutions/00_dataframes.html Exercise 5 Solution includes extra line at end repeating the code from the hint given in the question (but not one of the tasks). Repeated:
sw_imaging[(sw_imaging['org_code'] == 'RK9') & (sw_imaging['imaging_type'] == 'Diagnostic Ultrasonography')] Thanks, Amy.
Thanks. This has been fixed in the dev branch and will be merged in the next update.
https://www.pythonhealthdatascience.com/content/02_stat_prog/04_solutions/00_dataframes.html Exercise 5 Solution includes extra line at end repeating the code from the hint given in the question (but not one of the tasks). Repeated:
remember to use () around the criteria and use & for 'and'
sw_imaging[(sw_imaging['org_code'] == 'RK9') & (sw_imaging['imaging_type'] == 'Diagnostic Ultrasonography')] Thanks, Amy.