I don’t understand where I am going wrong, I think there might be something wrong with the assigment for question 6.
This is my answer for that question :
country_counts_df = countries_df.groupby(‘continent’)[[‘location’]].count()
It keeps giving me this message for that answer :
FAIL The values in
country_counts_df are incorrect Error: country_counts_df must be a Pandas data frame with ‘continent’ as the index column and a ‘location’ column containing the count of countries in each continent
Is anyone else getting this ? Can someone please guide me towards the right direction