How many ports per continent ?
Create a bar chart showing the distribution of ports across continents. You should expect something like this as the result:
Create a pie chart showing the percentage of ports in each continent. The result should be something like this:
Interpretation task: 🤔 Which continent has the most ports? Is there an imbalance in the dataset?
You can use .value_counts() on the continent column to determine how many ports exist per continent.
.value_counts()
Last updated 11 months ago