Hello and welcome back to the class of our course with the complete introduction to that science with
Python.
So until now, we talked about many python tools that can be used, such as by Skype and Skype.
And today we are going to talk about another really interesting tool that is used for visualization
that is called matplotlib.
So we are going to win this class.
We are going to have a complete introduction to this amazing tool.
So we are going to talk about visualization.
What is it exactly?
Then we're going to talk about matplotlib understand, understanding what exactly is inside of matplotlib
and what is the concept of a plot.
So let's start.
All right.
So the first thing that we need to understand is data visualization.
And why exactly is it that important in data science or just in life in general?
So what is data science?
Basically, data science for me is a visual representation of results.
So in this case, let's say you guys have a huge amount of data and you want to analyze this huge amount
of data.
So basically, if you guys are just using if you're just looking at data without making it visual in
form of graphs or any other way to make it visual, it's going to be really hard to understand.
So it will be really hard to find answers to questions.
For example, you are looking at how much people on one hundred peoples likes pizza, where there is,
for example, I don't know, onions on this pizza.
So basically you want to know how much people like to have this topping on their pizza.
So basically, if you make it visual, so in the form of graph, you will be able to see how much people
on this.
One hundred people like pizza with onions on this pizza.
If you're just looking at numbers, maybe you will not see it as easily as if you put it visually in
a form of graph.
So the same thing could be providing an accessible way to understand patterns in data.
So once again, this would be it could be for anything.
Let me just give an example in the financial world.
So basically you are looking in patterns.
Let's say you're looking at a stock and you want to look at a pattern that happens every day or every
week, every month.
So basically, you can do it with data visualization, which is easier than if you're just looking at
raw data.
So basically, if you're looking at daily data of a stock, you will not necessarily be able to see
all the patterns in all the chart movements.
But if you're looking at the graph or you're looking at any other type of visual representation of it,
it's going to be easier to understand.
And finally, it makes large amount of data easy to understand.
So basically a terrorist organization, since it's a representative, it's a visual representative way
of data, it can make really huge amounts of data.
Really, really simple to understand.
So basically, you can have millions of, I don't know, numbers or elements inside of your database.
But if you put it in a form of graph, it's going to be easier to understand that if you're just looking
at those numbers that are just raw data.
So why we have to visualize data.
So, as I explained, it will at first help us with with the comprehension of data that you study.
So basically, if you guys are studying huge amounts of data, trust me, it's going to be really,
really hard to just study those huge amounts of data without representing them visually.
So the best way to understand the data that you guys are studying is to visually represented and without
a visual representation.
Basically, it's almost impossible understanding the data that you are studying.
And finally, it's very easy for our brain to understand, visualize data.
So for the majority of us, we are very visual as people.
So basically, if we are putting something in a visual form, so basically we put it, I don't know,
in a form of a chart, a graph.
So for that I could be tried graph.
It could be, I don't know, histogram, for example.
It could be anything.
It could be a map, for example.
So on those on those forms, it's going to be easier for our brain to understand it if that if we are
looking at just raw data.
So those are simple examples of how data could be represented.
All right.
So in Python, there is a way to represent data visually.
So we talked about different tools that that are my tools and other stuff in the past few classes.
But to visualize data, there is a tool that is called matplotlib.
So once again, this is part of the Python library.
So what exactly is matplotlib?
So matplotlib is a plodding library for Python.
In other words, it works pretty much like Matlab.
So for those who know what that is, matlab.
So this is we can set a free version of Matlab that works with Python basically to allow us to visualize
data in form of plots or in form of.
Charts, graphs or many other things, which is pretty cool in my opinion, since it's an amazing way
for us to represent data.
So what exactly is it?
But it's a way to represent small or large amounts of data.
So in this case, here are some examples of plots.
So we have the bar chart right here.
You can have the highest diagram right there.
So it looks something like this.
You can have scatter plots that are just dots everywhere.
You can have area plots, you can have pikelets.
So basically is a pie chart.
There are some other things that exist on Muttalib that we are not necessarily going to cover them all,
but we are going to talk about the basics.
And basically in this part of the course, we are going to create blocks or charts with different with
small databases that we are going to create.
So I hope you guys right now understand what exactly is Metalocalypse.
As you can see, it's not something that is really complicated and is just a way for us to make our
data more visual, to be able to understand it.
So that's at first glance, again, since you all know the next class where we are going to setting
up matplotlib inside of your by text editor.