Will you please help for the last two optional questions of Assignment 3: Working with Pandas.
Thank you so much for your cooperation.
PANDAS ASSIGNMENT Q6
Will someone please help me out with this. Thanks.
I tink you are taking the hint too literally…
As it says use
groupby it does not mean to say use groupby on location…
As the question suggests we need number of countries for each continent so maybe you have to do something different for groupby…
After this you need to select
location and then aggregate using
I am not telling you exact solution as it would help you to understand better…
Hope it helps
Thanks Vinay for answering it in a subtle manner, was able to solve it and get the concept behind it.