Finding the highest earning country

Tell us what’s happening:
how to find the highest earning country in the demographic data analyzer project
Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4469.4 Safari/537.36.

Challenge: Demographic Data Analyzer

Link to the challenge:

Well that is the challenge, isn’t it?
You need to utilize the .groupby() method to get the high-earning salaries counted per country and use it to calculate their ratio, then find the max-value and output the country.

This is indeed quite hard compared to the previous tasks.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.