Which country has the most sales Quantity Sales?
I am not sure if I have miss understood the question, but the given answer will just count how many times each country appeared in the country column, it returns the maximum as United States with value of 39206, I think it is not the right answer. I have different approach, I have grouped the data by the country column and returned the sum of the revenues then sorted the values as a descending order. Am I wrong.
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Challenge Information:
Data Analysis with Python - Data Analysis Example A
When you enter a code, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.