Dear guys ,
I am currently struggling with Question 11 of Assignment 3 .
I have tried to fixed my code several times but there was no result .
Here is the link to my notebook :
Q11: Create a dataframe with 10 countires that have highest number of tests per million people.
highest_tests_df = combined_df.sort_values( 'tests_per_million', ascending = False ).head(10)[['location','tests_per_million']]
|197||United Arab Emirates||725696.635121|
Could you point out for me where is the mistake ?
Many thanks .
Stay safe during the pandemic .