Okay. So the data visualization is also part of this data understanding stage. So in this business understanding stage, so we will look into, let's say, what is what we won from the data mining project, and then who will be the person who will be doing the data mining project. And then for this data understanding, we will try to understand more about the data. So that's why it's called all the time then understanding. Then, after we know about data understanding that we are going into data preparation, modeling, evaluation and deployment.
So in data understanding we can use some of the inferential statistics or some of the descriptive statistics and some other data visualizations to let's say, to help us understand more about data So that's why seeing the PSA data understanding stage. So, in Python programming we can draw a bar chart. So we can draw a bar chart using our matplotlib. Library. So we can do something Id so we can import matplotlib poi Pro. Yeah meter name NumPy.
Panda say pi stats and stepmother. Can S equal boss car Laurie. We can do something like this. S equal k s eco boss calories. Boss calorie. k boss.
Calm Laurie. Okay, Danny In the y y equals some value, so I can put in a true value. Okay and then something IDs, then we can put in sa index equals NP NumPy NP dot arrange line x in that equal NP dot a range. Okay The answer will be x to be if I know Lonnie is ln x. Okay, then we can plot a bar chart using PLT dot bar index Why? plt dot bar index y.
Now we can change some of the setting of pro se pro For as labor we can say to our SSIS that we can sell Y axes then we can sell the SP two index x and then we can set a title to title to PLT dot s labor okay. You can say to s ss PLT though, why labor can say a to Y axis okay then we can set a taste to index x. So plt.ah Tc is our sts okay then index x. I see the Korea in there s and then PLT tighter so we can set a tighter tighter to tighter pay then I PLT dot show okay then we can run the qu w i have a bar chart here. So our as labor we have our SSIS title we have our title here, okay, so we can produce our bar chart using Python using some of this code here.
So, in this equal MP dot array our erase our line x we can print the index and see why means. Okay, so the index we have our Sunday 901 to 10 we can pull this index and then we put an X here. So we are these are bad boss calamari. So let's see if I didn't know until This is t you have something like this minus 0.50 0.51 1.5 to 2.5. So we put in the SDS and this boss Chi