Grouping Our Dataset
Explore the process of grouping and indexing data in Python to analyze categorical variables like continents and countries. This lesson helps you understand how to segment datasets using pandas groupby and indexing to reveal data distribution patterns and prepare for focused analysis in visual storytelling.
We'll cover the following...
We'll cover the following...
Categorical variable visualization
Let's begin our EDA process, starting with our categorical variables, continent and country. Let's start with a bar plot to understand the representation of continents in the dataset, so we can answer the following question:
What countries and continents are represented in the dataset?
With this bar plot, we can see a higher representation of instances corresponding to Africa in the dataset.
Now that we've ...