- 33 minutes ago
Turn a raw dataset into a clearer starting point for analysis with exploratory data analysis in Pandas. This Python tutorial introduces EDA using the world population dataset, helping you get familiar with a practical workflow for exploring data in a Jupyter notebook. It’s a useful lesson for beginners learning Python for data analysis and building confidence with the Pandas library. Follow along with the dataset and notebook code to practice the concepts yourself. Explore Pandas data analysis, beginner Python tutorials, and exploratory data analysis techniques as you develop skills for working with datasets and preparing for a career in data analytics.
Category
📚
LearningTranscript
00:00Hello, everybody. Today, we're going to be looking at exploratory data analysis using pandas.
00:05Exploratory data analysis, or EDA for short, is basically just the first look at your data.
00:11During this process, we'll look at identifying patterns within the data,
00:14understanding the relationships between the features, and looking at outliers that may
00:18exist within your dataset. During this process, you are looking for patterns and all these things,
00:22but you're also looking for mistakes and missing values that you need to clean up during your
00:27cleaning process in the future. Now, there are hundreds of ways to perform EDA on your dataset,
00:32but we can't possibly look at every single thing, so I'm just going to show you what I think are
00:37some of the most popular and the best things that you can do when you're first looking at a dataset.
00:41The first thing that we're going to do are import our libraries, so we'll do import pandas as pd.
00:48We're also going to import seaborne and matplotlib. Now, during this exploratory data analysis process,
00:55I often like to visualize things as I go, because sometimes you just can't fully comprehend it
01:01unless you just visualize it, and it gives you a larger, broader glimpse of everything.
01:06So we're going to import, and let's do seaborne. Oops.
01:12That's SNS.
01:14And then we'll import matplotlib.pyplot as plt.
01:21Let's see. Let's run this.
01:25This should work. Okay, perfect. Now we need to bring in our dataset. So we've worked with that
01:31world population dataset. That is the exact one that we're going to use now. So we'll say
01:35dataframe equals pd.read underscore csv. Do R. And we'll paste in our csv. And this is what it should
01:46look like. Although your path may be different, be sure to make sure that you have the correct file
01:50path. Then we'll read it in. Now, this dataset should look extremely familiar if you've done
01:56some of my previous pandas tutorials, but I did make some alterations to this one. Took out a little
02:01bit of data, put in a little bit of data here and there to change things up, because if it
02:07was just
02:07exactly how I pulled it, which I got this dataset from Kaggle, if it was exactly how we pulled it,
02:12like we've looked at in the previous videos, it's too simple. You know, we wouldn't actually be able
02:16to do some of the things that I would like to show you. So be sure to actually download this
02:21exact
02:21dataset for this video, because it is a little bit different. But what we're going to do now is
02:27just try to get some high level information from this. Now, if yours looks just a little bit
02:32different, like your values are in scientific notation, I have applied this so many times,
02:37I think it's, you know, still applied to this. You can do something and we'll write it right down
02:43here. We're gonna do pd.set underscore option. And we'll do an open parentheses. And we'll say
02:50display.float underscore format. And so we're going to change that float format by just saying
02:57lambda x colon. And then we're going to change basically how many decimal points we're looking
03:04at. So let's just do here. So we'll do a quote, percent sign point two f. So we're formatting it
03:12oops, point two f. So we're going to format it. And we'll do percent x. This is going to format
03:19it
03:19appropriately. I mean, I can run it. And actually, it will change it because this is at point one,
03:23because I believe last time I did it. So let's run this. And then let's run this again. It'll change
03:28it to point two. So that's two. I like it at point one, we don't really need it any well,
03:33let's keep
03:34it at point two. Why not? We're gonna keep it at point two. That's how you change that. And I
03:39like
03:39looking at it like this a lot better than scientific notation. So just something to point out. Let's go
03:45down here. And let's just pull up data frame. So we have this data. One of the first things that
03:51I
03:51like to do when I get a data set is to just look at the info. So we're gonna do
03:55dot info. And this gives
03:57us just some really high level information. This is how many columns we have. Here are the column
04:03names. Here are how many values we have. And if you notice, this is where it kind of gets. So
04:09we have
04:09234 in each of these. So in each of these columns, we have 234 until we get to this 2022
04:16population.
04:18Once we get there, we start losing some values. And then at the world population percentage,
04:24we have all of our values, all 234 of them. The count tells us that it's non-null. So it
04:29does
04:30have values in it. And then we also have the data types. These come in handy later. And these are
04:35really great to know. And we'll be able to kind of use those in a few different ways later on
04:40in
04:40this tutorial. Really quickly, I wanted to give a huge shout to the sponsor of this entire Panda
04:44series. And that is Udemy. Udemy has some of the best courses at the best prices. And it is no
04:49exception when it comes to Panda's courses. If you want to master Pandas, this is the course that I would
04:54recommend. It's going to teach you just about everything you need to know about Pandas. So
04:57huge shout out to Udemy for sponsoring this Panda series. And let's get back to the video.
05:01The next thing that I really like to do, and this one is df.describe. This allows you to get
05:08really a high level overview of all of your columns very quickly. You can get the count, the mean,
05:14the standard deviation, the minimum value, and the maximum value, as well as your 25, 50,
05:21and 75 percentiles of your values. So just at a super quick glance, there is a row somewhere in
05:28here. And this country, their population is 510 for 2022. And in fact, if you go back to 1970,
05:36it was higher. It was at 752. That's just interesting. Then if we look at the max population,
05:43one has 1.42 billion. I believe that's China. And then over here in 1970, we have 822 million.
05:50Again, I still believe that's China. But this gives you just a really nice high level of all
05:56of these values or all of these different calculations that you can run on it. And we
06:00can run all of these individually on even specific columns. But, you know, it's just a nice high level
06:06overview. One thing that we just talked about was the null values that we're seeing in here.
06:11I'd like to see how many values we're actually missing, because that is a problem. We don't want to
06:16have too many missing values or could really obscure or change the data sets entirely. And so we don't
06:23want that. So we'll say df.isNull. And then we'll do a parentheses and we'll say .sum. And when we
06:30do
06:30this, whoops, .sum. There we go. When we do this, it's going to give us all the columns and how
06:38many
06:38values we're actually missing. Now we have 234 rows of data. So we have 4147755424. So we have,
06:49we definitely have data missing. What we choose to do with it in the data cleaning process, maybe we want
06:55to populate it with a medium value. Maybe we just want to delete those countries entirely if the data
07:00is missing. You know, I don't think you're going to do that. But these are things that you need to
07:05think about when you're actually finding these missing values. This is what the EDA process is
07:10all about. We want to find different either outliers, missing values, things that are wrong with the data,
07:18or we can find insights into it while we're doing this as well. So this is definitely something that I
07:23would consider when I'm actually going through that data cleaning process. Really, really important
07:28information to know. Now let's go right down here, go to our next cell, say df.unique. And this is
07:34going to show us how many unique values, and it's actually nunique. This is going to show us how many
07:41unique values are actually in each of these columns. And this one makes the most sense for continents
07:49because I think there's only seven continents, right? But we have six right here. And for all
07:55of these, each of these ranks, countries, capitals should all be unique. That makes perfect sense.
08:01As well as these, you know, these populations are such specific numbers and such large numbers,
08:06I would be shocked if any of these were similar. And then for these world population percentages,
08:11it's much lower. And again, that makes a lot of sense because when we're looking at,
08:15and we'll pull it up right here, when we're looking at these world population percentages,
08:21a lot of them are really low 0.00, 0.01, like this one, 0.2, there are a lot
08:28of really low values for
08:30those small countries. And so those are all, you know, one unique value. Now, let's say we just have
08:36this data right here, and we want to take a look at some of the largest countries. And we can
08:41easily do
08:42that. We could even, we could say max and take a look at the largest country, but I want to
08:46be a
08:46little bit more strategic. I want to be able to look at some of the top range of countries. And
08:51we
08:51can do that based off this 2022 population. So we'll say df.sort underscore values. This is how we
08:58sort and not filter, but order our data. So we'll do sort values, and then we'll do by is equal,
09:06and then we'll specify that we want this 2022 population. And then we're going to say comma,
09:13and we'll say, actually, let's just run this as is, but we'll do head, because we just want to look
09:18at the top values. So now we're just looking at the very top values. So what we're looking at is
09:23actually these 2022 population. That's what we're filtering on or sorting on basically. And we'll
09:30look at the very bottom values because it's sorting ascending. So from lowest to highest.
09:35So this Vatican City in Europe is, you know, 510. That's the value that we were looking at earlier.
09:42Now we can do comma ascending equal to false because it was by default true. We can do false.
09:49Whoops. We can do false, and then it'll give us the very largest ones. So if we just take a
09:54look at
09:54the top five largest by population, we're looking at China, India, United States, Indonesia, and Pakistan.
10:01And we can even specify that we want the top 10 in this head. We can bring in the top
10:0710. And we also
10:08have Nigeria, Brazil, Bangladesh, Russia, and Mexico. And you can do this for literally any of these
10:14columns, whether you want to look at continent, capital, country. You can sort on these and look
10:20at them. And you can even look at, you know, things like growth rate, world percentage. This one seems
10:24really interesting. Let's just look at this one really quickly before we move on to the next thing.
10:29If we look at this world percentage, just China alone, I believe. Yep. Just China alone is 17.88%
10:38of the world. So 17.88 and 17.77. And that's China and India. And those are very large countries
10:46with a
10:47high, high, high population. That makes a lot of sense why that is the highest world population
10:52percentage. Again, just getting in here, looking around. That's all we're really doing. Now I want to
10:57look at something and I have always liked doing this, which is looking at correlations. So correlation
11:03between usually only numeric values. We can do that by saying df.corr and a parentheses and we'll run
11:11this. And what this is, is it is comparing every column to every other column and looking at how
11:19closely correlated they are. So this 2022 population, if we look across the board, it's very highly, I mean,
11:26this is a one-to-one. This is highly correlated to each other. And that almost for all of these
11:32populations, they're very, very closely tied to each other, which makes perfect sense because for
11:37most countries, they're going to be steadily increasing. And so they're probably almost exactly
11:42correlated. But we can look at these populations. And if you look at the area, it's only somewhat
11:49correlated. And that's because in some countries, you know, they have a very high population, but a small
11:54area or vice versa, a small area in a very high population. So there isn't a one-to-one correlation
12:00there. But it's hard to really just glance at this and understand everything that's there. We could
12:06just visualize it and it would be a lot easier. So let's go ahead and do that. Let's go down
12:12here.
12:12We're just going to visualize this using a heat map, basically. So we're going to say
12:18sns.heatmap in an open parentheses. And the data that we're going to be looking at is df.core
12:27correlation. And we also want to say anote equals true. I'll kind of show you what that looks like
12:32in just a little bit. But let's do plt.show. And this will be our first look. And I need
12:40to say
12:40show, not shot. We can get a little glimpse of what it looks like, but this looks absolutely
12:47terrible. Let's change the figure size really quickly. So I want to make this much larger than
12:53it already is. We'll do plt.rcparams. rcparams. Oops. Right there. Do an open parentheses.
13:04And then right here, we're going to do in quotes. We'll do figure.fig size. This actually needs to
13:10be in brackets, I believe. Just like this, not parentheses. And we'll say fig size is equal to,
13:18and now we can specify the value that we want. Let's do 10 comma 7 and see if this looks
13:23any better.
13:25No. No, that doesn't look good. Do 20. Okay. That looks a lot better. And
13:33you know, this is just a quick way because it gives you basically a color-coded system.
13:38Highly correlated is this tan all the way down to basically no correlation or negative correlation
13:43even, which is black. So when we're looking at these 2022 populations, and these are our populations
13:49right down here on this axis, we can see that all of these are extremely highly correlated very,
13:56very quickly. Whereas the rank really has nothing to do. It's negatively correlated. It doesn't really
14:02have anything to do with it. Then for the population and the world population percentage,
14:07it again is quite correlated except for the area, density, and growth rate. So I find that really
14:15interesting that, you know, the density, the growth rate, and the area aren't really all that
14:21associated or correlated with the population numbers. That is, I kind of would have assumed
14:28that on some level they went hand in hand. The area does, which, you know, again, makes sense,
14:34you know, larger area, larger population, that kind of thing. But even density, I guess,
14:38I guess density and growth rate, growth rate I can see because that's a percentile thing.
14:43That could be definitely not correlated. But I thought the density would be more correlated than it is.
14:48All that to say is, this is one way that you can kind of look at your data, see how
14:53correlated it is
14:54to one another. That can definitely help you know what to analyze and look at later when you're
14:59actually doing your data analysis. Let's go right down here. Something that I do almost all the time
15:05when I'm doing any type of exploratory data analysis like this, I'm going to group together columns,
15:10start looking at the data a little bit closer. So let's go ahead and group on the continent.
15:17So let's look at it right here. Let's group on this continent because sometimes when you're doing
15:21this EDA, you already know kind of what the end goal of this data set is. You know, kind of
15:26what
15:26you're looking for, what you're going to visualize at the end that you really comes in handy when doing
15:30this. But sometimes you don't, sometimes just going in blind. And so far, we've really just been going
15:35in blind. We're just throwing things at the wind, kind of seeing some overviews, looking at correlation.
15:41That's all we've done. Now, I kind of want to get more specific. I want to have like a use
15:46case,
15:46something I'm just kind of looking for, not doing full data analysis, not diving into the depths,
15:52something we can kind of aim for. So the use case or the question for us is, are there certain
15:57continents that have grown faster than others and in which ways? So we want to focus on these
16:03continents. We know that that's the most important column for this use case, this very fake use case.
16:08So we can group on this continent and we can look at these populations right here because we can't
16:14really see growth. You can see a growth rate, but the density per kilometer, we don't have multiple
16:21values for that. It's just a static one single value. Same for growth rate, same for world population
16:27percentage. But we have this over a long span, many, many years, you know, 50 years of data here.
16:34So this, we can see which countries have really done well or which continents have really done well.
16:39So without, you know, talking about it even more, let's do df group by, and then we'll say
16:46continent. Oops. Let me just copy this. I'm, I'm not good at spelling. I'm going to say df group by,
16:53and then we'll do dot mean, and we can just do it just like this. And now we have Africa,
17:00Asia,
17:01Europe, North America, Oceania, and South America. Okay. So if I'm being completely honest,
17:09I knew most of these. All right. I'm no geography extra expert, but I knew most of these.
17:14I don't know what this Oceania is. Um, this, uh, that I don't, I genuinely don't know what that is.
17:20Um, so let's just search for that value and see, we'll come back up here in just a second,
17:27but I want to, I want to kind of understand, um, what this is. So we're going to df, um,
17:32and we'll say continent. Let me sound that out for you guys. Um, then we'll do dot string dot
17:40contains. Oops. Contains. Good night. And then I want to look for Oceania. Uh, and let's,
17:50let's run this. Oh, I need to do it like this.
17:56Now let's run this. So now we're looking at our data frame and we're seeing when the values have
18:01this continent as Oceania. Um, okay. So these look like islands I'm guessing. So we have Fiji,
18:10Guam, um, New Zealand, Papua New Guinea. Yeah. These look like all, I'm guessing based off the
18:19continent, Oceania, um, Oceania, Oceania, Oceania, Oceania. Guys, this is tough for me. Okay. I'm
18:28doing my best. I, I, you know, this is part of the EDA process. I don't know what that means.
18:32I
18:32don't know what Oceania, Oceania, Oceania, Oceania. Jeez. I'm just going to call it Oceania. That's so
18:39wrong, but I'm just going to, it's so easy for me to say, you know, I, I now am seeing
18:43this and it
18:44looks like islands, um, which would make sense because for their average, they have the highest
18:52average rank. Um, and I'm guessing that's because they're just mostly small continents. So let's,
18:58let's order this really quickly. We're gonna do dot sort underscore values, do an open parentheses,
19:06and I want to sort on the population. We're just doing the average population. Um, we'll do by,
19:12um, equal. So on the average population and we'll do ascending equals false. So when we're looking at
19:21this average or the mean population, Asia has the highest population on average. Then we have South
19:28America, Africa, Europe, North America, and then Oceania at the very bottom, which makes perfect sense.
19:36Once again, small islands, um, world population percentage. So each of the countries, each of
19:43those countries in Asia makes up about 1% on average, really interesting, um, to know, and just
19:49kind of look at this and the density in Asia is far higher than double, almost double every single
19:58other continent. Um, really, really interesting actually, now that I'm looking at this, but you
20:04know, that's something that I would actually look into it. I would be like, what is this Oceania or
20:09Oceania? What does that mean? And, you know, let me look into that. Let me explore that more. Cause
20:14I want to know this dataset. I'm trying to really understand this dataset. Well, but what I want to
20:18do now is I want to visualize this. Um, because I just feel like looking at it, I don't, it's
20:25hard
20:25to visualize. And again, the use case that we're saying is, is which continent has grown the fastest?
20:30Like it could be percentage wise. It could be, um, you know, as just a whole on average,
20:35let's take a look. So we're going to take this and let's copy it like this. Let's bring this right
20:41down here. So let's look at this. So if I try to visualize this and let's do that, let's do
20:50DF2 is
20:51equal to, because I'm, I already know it's not going to look good just based off how the data's
20:56sitting. Um, we can do DF2. Oops. What am I doing? I don't need to do that, but I will.
21:03Okay. DF2
21:04and we'll do DF2 dot lots. And we'll run it just like this. Um, as you can see, Asia, South
21:14America,
21:14Africa, Europe, North America, Oceania, we can kind of understand what's happening, but these are the
21:21actual, um, values that are being visualized, not the continents, which is what I wanted, um,
21:28in order to switch it. And it's actually pretty easy. And this is something that, um, you know,
21:33is good to know. We can actually transpose it to where these, these continents become the columns
21:38and the columns become the index. And all we have to do is say DF2 dot transpose. And we'll do
21:47this
21:47parenthesis right here and let's just look at it and then we'll save it. So now all of these columns
21:54are right here and all of the indexes are the columns. So let's say DF3 is equal to, and I'm
22:03just doing that so I don't, you know, write over the DF or my earlier data frames. So now we
22:07have this
22:07data frame three. So now let's do data frame three dot plot. And it should look quite a bit different.
22:14Uh, whoops, I didn't run this. Let's run this and run this. And as you can see, this does not
22:23look
22:24right at all. And the reason is, is because we're not only looking at, uh, the correct columns. We have
22:30this density in here where population percentage rank, we don't need any of those. The only ones
22:35that we want to keep are these ones right here, this population. Now we can do that and we can
22:41just
22:41go right up here. This is where we created that data frame two that we transposed. We can go right
22:45up here and we can specify within this. We actually only want specific values. Now we can go through
22:52and handwrite all of these and by all means go for it. But I am going to go down here.
22:59I'm going to say
23:00DF dot columns. And I'm going to run this. It's going to give us this list of all of our
23:06columns.
23:06And I'm just going to, you can just copy this and you can put it right in here.
23:12I think I need a list of them. I think it needs to be like this. If I'm, uh, let
23:16me try running this.
23:17Okay. So this worked properly. You can do it just like this or a little shortcut. If you want to
23:22do
23:22it like that. If you want to do a shortcut, like, um, I, I would hope you would, you would
23:28just do
23:28DF dot columns, just like how we looked at down here. Except since this is our, an index,
23:35we can search through it. So we can just say zero, one, two, three, four. Okay. So we can do
23:41five up to 13. Cause I think it's seven and we'll just, let's see if this works.
23:47Uh, and it may not, I may actually need to go like this. Let's see. There we go. So you
23:52can just
23:53use, you know, the, the indexing to save you some visual space gives you the exact same output.
23:58So now we have this, this is our DF two. Now let's go down and transpose it.
24:03So now we just have these populations and we have our continents right here and then now we're going
24:09to plot it. And this looks good. Although it's backward. Um, okay. It's backward. So what I
24:19actually want to do is not this, uh, that is a quick way to do it. Although not the best
24:26way to do
24:27it. Um, so I'm actually going to copy all of these. And although I said it would save us time,
24:32it did not at all. So I'm going to put a bracket right here. I'm going to paste this in
24:40here and
24:41I'm literally going to change these up. I might speed this up or I might just have you sit through
24:47this because you know, this is an interesting part of the process and I want, you know, you to get
24:52the
24:52full experience. You know what? Now that I'm talking about it, that is what we're going to do.
24:56You guys can hang out with me. This is a good time. We have 2010, 2015, 2020, and 2022. Now
25:08let's
25:08run it. What did I do? Oh, too many brackets. There we go. So now it's ordered appropriately.
25:14We have 1970 all the way up to 2022. This is how we want it. Let's transpose it appropriately.
25:21Let's run it. And now we basically have the inverted, uh, image of this now just at a glance,
25:27and we haven't done anything to this except for literally what we are looking at. At a glance,
25:32we can see that from 1970, China, you know, Asia and China are already in the lead by quite a
25:39bit.
25:40And it continues to drastically go up, especially in the two thousands, like right here,
25:46it explodes like just straight up, then kind of starts going up and just leveling off every other
25:53continent, especially Oceania, Oceania is just really low. It never has done a bunch. Let's see,
26:00look at green. Green has gone up, um, from, you know, point, let's say 0.1 up to about 0
26:06.2. So
26:07they've almost doubled, um, in the last 50 years. And again, you can just get an overview,
26:13a high level overview of each of these, you know, continents over the span of this time.
26:19So this is kind of one way that we can, you know, look at that use case. We're not going
26:24to harp on
26:25that too long. I just want to give you an example. Like, you know, when you're looking at this,
26:30sometimes you'll have something in mind of what you're looking for and you go exploring
26:34and just kind of find what's out there and find what you see. Um, the next thing I want to
26:38look at
26:38is box plot. Now I personally, I love box plots. You know, they're really good for finding outliers
26:46and there's a lot of outliers. I already know this because the average, the 25th, 50 percentile are
26:52very low. And then there's some really just big outliers, but for your data set, it may not be
26:58that way. And those outliers may be something that you really need to look into. And box plots have been
27:03something that I've used a lot where I found those outliers that way and started to dig into the data
27:07to
27:08find those outliers and, you know, came across some stuff that I'm like, oh, I have to clean this up.
27:12I have to go back to the source. Really, um, really, really powerful and useful to be able to find
27:17these. So all you have to do is df.box plot. Yeah. Let's take a look at it. And this
27:23already looks
27:24good as is. Maybe I'll make it a little bit wider. Um, let's do fig size. Oops. Sorry. Big size
27:33is equal
27:33to let's try 20 by 10. Um, okay. That didn't help at all. I apologize. I thought it would, but
27:43let's keep
27:44going. What this is showing us is that these little boxes down here, which are actually usually much
27:50larger because you have a more equal distribution of, of, um, numbers or values in the small value. This is
27:56where our averages lie. This number right here is the upper range. And then all these values, all these
28:04open circles, those actually stand for outliers. So we're looking at the 2022 population. There's a lot
28:11of outliers now for our data set, knowing our data set is really important. Outliers are to be expected,
28:17especially when most countries or continents are small. So we're looking at, you know,
28:22all of these little dots are outlier countries, um, or outlier values, which each value corresponds
28:29to a country. So if this was a different data set, I would be, you know, searching on these and
28:35trying to find these so that I can see what's wrong with them, if anything, or if they are real
28:40numbers. Like if this was revenue and everyone's revenue is way down here. And then there's one
28:44company that's making like $10 trillion. That'd be an outlier up here. And it would definitely be
28:49something that you want to look into for our data set, knowing that, you know, we're looking at
28:52population. This is more than acceptable and, you know, oddly enough, but that's what box plots are
28:59really good for showing you some of those core tiles, the upper and the lower, um, as well as
29:03denoting these points that fall outside of those normal ranges for you to look into. So really,
29:08really useful. So now let's go down here, pull up our data frame again, and we've kind of just
29:14zoomed into the whole EDA process. There was one last thing that I wanted to show you.
29:19And this is the very last thing that we're going to look at. We're ending on really a low point,
29:22if I'm being honest, because the last kind of stuff was more, much more exciting, but there is
29:27something df.dtypes. Oops, let's do df.dtypes. And we'll run this. Now, just like info, it gave us
29:37these values, but we're actually able to search on these values now. So these, um, object float
29:43and integer, we can search on those, which is really great because we can do include equal
29:49and we can do something like number. And none of these are numbers, right? Or none of them
29:55explicitly say number, but when we run it, I'm getting an error series object. Oh, that's because
30:01I'm doing, um, dtypes is for a series. We need to do select underscore dtypes. Now let's run this.
30:09Now it's only returning, um, the columns in this data frame where the data types are included in
30:16this number. So you won't see any, you know, country or any of those texts or the strings.
30:22If we wanted to do that, we go in here and say object and run that. And this is another
30:29really quick
30:30way where we can just filter those columns to look for specific, whether it's numeric. Um,
30:37we can even do float in here. And so now it's not including that rank, which was an integer.
30:42So we can specify the type of data type and it'll filter all of the columns based off of that,
30:47which, you know, when you're doing stuff like this, you, it is good to know what kind of data
30:52types you're working with and look at just those types of data types. Cause there might be some type
30:56of analysis you want to perform on just that, whether it's numeric or just the string or integer
31:01columns within your dataset. So again, ending on a low note, I apologize. Um, you know,
31:06everything else that we looked at, all those other things that we looked at are all things that I
31:10typically do in some way or another. When I'm looking at a dataset, exploratory data analysis is
31:17really just the first look you're looking at it. You're going to be cleaning it up, doing the data
31:22cleaning process. And then you're gonna be doing your actual data analysis, actually finding those
31:27trends and patterns and then visualizing it, um, in some way to find some kind of meaning or insight
31:33or value from that data. And again, there's a thousand different ways you can go about this.
31:39It does typically, um, you know, depend on the dataset, but these are a lot of the ways that you'll
31:45clean a lot of different datasets. And so, you know, that's why I went into the things that we looked
31:49at in this video. So I hope that you guys liked it. I hope that you enjoyed something in
31:52this tutorial. If you liked this video, be sure to like, and subscribe as well as check
31:56out all my other videos on pandas and Python, and I will see you in the next video.