Halaal, before going ahead in this particular session, let's have a quick recap on what we have done
deal in this amazing covid-19 project.
So we have do a lot of preparation, lots of analysis on data with respect to this trend.
What exactly is our population to pastern ratio than we have in Franzia?
Western countries has a greater impact with respect to this number of TESTIN.
After what we have done, we have performed this amazing bar chart.
Then we have this was 20 countries in terms of total confirmed cases, in terms of recovered, in terms
of deaths, in terms of all these different different features.
That's what we have done in our project now.
So in session, what we have to do, the very first assignment, the very first problem is treatment
is exactly by chart, the presentation of stacks of lost affected countries.
So if you will see in this world on this score data and on this, let's see if I'm going to call this
had over there, I'll just have to get a preview how exactly my data looks like.
So you will see these are all these countries and almost I have all other things, like total cases,
like total glass and all these things.
So now what we have to do basically in all these features, I just need some important feature that
definitely some important role in my analysis.
So let me see what I have done earlier so that if I have the final list on which I have performed some
kind of iteration, which is exactly this one.
So I'm just going to copy all these stuffs over here.
And now what I'm going to do, I'm just going to define a new list over here.
That's its name is nothing good.
Like to this time its name is cases and this is my exactly entire list.
So let me say this is my cases and let me just paste all this stuff and now I have to trade on this
list.
So I'm going to say for I encases once I have this iteration, I'm going to say let's say I have to
use an amazing plot or have, let's say, a pie chart over here.
So for this, I'm going to say start by and just Festschrift crosstab, all the documentation in front
of you.
Now, what you have to do, you have to just play with all this parameter.
That's it.
Now, what I'm going to do, I'm just going to say what for data.
Let's say I just need data of 15 countries.
So I'm going to say, what data zero to 15 after it.
What we have to do.
Let's say here I have a parameter, which is exactly my values.
So values is equal to I because I'm going to I trade on this list and whenever I'm going to hover my
mouse on my pie chart, whatever value it will reflect me.
So that value will be exactly due to this values parameter.
So values is equal to I offer it what we have to do.
We have some other parameter as well.
Let's say we have some parameter as names, which is exactly this one, so that if I have to assign
some names over here, so I'm going to say, let's say I'm going to define a parameter or a variable
as let's say libbers.
And this labels is nothing.
But let's say a word on this score data.
And I have to exit the zero total 15 phones.
I have all this stuff.
Then I have to access this country.
Underscore the reason you can pass tab as well.
So I'm going to say Country Shlash Prison and after it I have to convert this entire thing into ADESA
for this.
I have to just call this dot values over here.
So in this means I have to parse this added that I have defined over here.
So here I am going to say it is nothing but my labels added it and after it, if you want to assign
some custom template, you can definitely play with it.
And let's say if you want some donor card, so let's say I'm going to pass my whole parameter and you
can set some value of that whole zero point three, which is exactly radii of that hole.
So after it, what I'm going to do, let's say I have to assign some title as well.
So my title is nothing, but let's say each and every feature, whenever I'm going to iterate on each
and every feature.
So in each and every pie chart, my title will be change.
So that's why I had to use something known as a placeholder.
So here I'm going to say a title is nothing but let's say a placeholder.
And here I'm going to say recorded with respect to with respect to let's say with respect to w actual
reason of 50.
Worst affected countries.
Actually, this is exactly my title and whatever placeholder I have put over here, who after it, what
I am going to do now, that first I have to remove this practice and here I have to just call this format
over here.
And in this format, I have to pass this.
I value exit wounds after doing all this stuff.
I have to say this is exactly my fake object.
Once I have done all these things, I have to just show this as far as I'm going to say fake talk show.
I have to just execute this.
Now, you will see this is amazing.
Döner charged with respect to your total cases with respect to total that with respect to total recovered
and all these different different countries.
You can simply visualize it here.
If you are going to hover my mouse now, you will see over here with respect to USA, you have that
much ground with respect to Brazil, you have that much ground, all these different different kind
of things with respect to cases wherever with respect to total, lets you have that much ground, you
have that much percentage and all these different different things.
You simply visualize your tax to here tax the power of your iteration.
That's the power of your party as well.
Look at that, how user friendly this is.
Whenever you are going to hover your mouse over here, you will definitely get all your statistics with
respect to each and every country.
So let's go ahead with our next analysis in which I have to perform.
That's to confirmed thishow.
So now let me create a new over here.
But in this data frame, which is exactly my word, underscore data.
So I'm going to say a word on this called data dot head.
So here you will say you don't have a feature name as that to confirmed.
It means you have to create that feature.
And that feature is nothing but my division of total that two total cases for this.
I'm going to say word underscore data to tell that very first I have to exit to this total that gets
divided by word on this call data total, which is exactly two cases.
Yeah.
So it will exactly me.
All these tests, let's say I have to store it somewhere else.
I have to stored in a variable which is exactly my let's say that's to conform to this is my exactly
that variable name in which I have to store all these stats, which is exactly a ratio of this.
So if let's say I have to print it as well, so I'm just going to print it as well.
That's it.
Now, you will see with respect to each and every index, all you can say with respect to each and every
country, you have some ratio as I know it here and now.
What will happen?
Do you have to showcase this data?
You have to show this data on your Nexavar chart or whatever chart.
You won't let it over here.
I'm going to use bar chart over here.
So for this, I'm just going to call my bar.
And this time I have to say my data, famous world data.
And definitely on acceptive, I have something which is exactly country reason.
And on y axis, I have definitely that variable that I have defined, which is not this one, which
is exactly my that's just press tab and all your stuff.
Still ahead, after what I have to do, you can assign some data as well.
So let's say my title is nothing more.
Let's say that to conform to what I'm going to say that to confront the issue of the issue of worst
affected country.
Let's say this is exactly my title and there are tons of parameters that you can play with it.
And if you are going to execute all this stuff over here, you will get your amazing visual.
So you can see what if you are going to hover your mouse over here, let's say you will see this is
exactly that country, which is you're a human.
So in this country, you will see that the issue is somewhere zero point three times out of hundred
confirmed cases.
There are thirty persons who are going to die.
So definitely it's not a good ratio.
Whereas with respect to all other countries, us on racial, similarly, you have over here your UK
as zero point one five, your Italie, which is exactly your zero point and one in four it means 14
persons out of a hundred are going to die.
So you can definitely go on.
There are some countries that doesn't have that much good that to confront ratio, so definitely you
can conclude as much as you want so that go ahead with our next statement in which I have to analyze
this debt to record ratio.
Just a bit change of a parameter and you can conclude this statement as well.
So this time, what I need very I just need some stats that say I'm going to say this time here I have
to copy all this stuff and hear this time it is nothing but kopell that gets divided by this total recall.
So you can press tab over here.
And this is exactly that feature.
Just execute.
And this is exactly the ratio that you have to pass to your bar chart.
So now what I have to do, I have to just copy all these stats from here.
And I said I have to do some modifications over here on Axis.
I just need this.
And let's say let me store all this stuff in some variable, let's say that underscore to underscore,
let's say geek world.
Actually, this is my that stats.
And now this time here, I have to say this time my stats are variable name is that.
But this record and this time my title is nothing but that to recover ratio of worst affected country.
Just execute the cell and you will get this amazing stats over here.
So you will see with this back to your yeomen.
Still you have high account with respect to this Billiam.
You have higher account with respect to France.
You still have a higher account.
So let's go ahead with our next analysis.
The fourth one, which is exactly I have to perform this faster to confirm the issue.
That's it.
Simple.
Very simple.
You have to just customize this.
You have to just customize this parameter that set.
So this is exactly the assignment you have to do.
And if you want to get your code, you can just download that notebook that I have assigned you in datasets
and resource it.
Just go over there, just check your code and just match how efficiently you have code.
So let's go in our next problem, a statement in which I have to say serious to that ratio.
Again, that's a similar problem statement.
But let me give you a quick overview of how you have to solve it.
So here this time, what you have to do here, you have to execute the feature, which is exactly your
serious critical gaps divided by basically your total.
That's which is exactly this one.
And this time, if I'm going to let's remove all this stuff.
So you will see over here out of hundred people, let's say its value is zero point one one.
It means out of hundred people.
All you can say out of Syria's hundred serious people, there are eleven persons who are going to die.
So that's the exact meaning of this ratio.
So what do you have?
Do you have to just pass this data in this in this interim step?
So let me show let me copy and paste over here.
This time, what I have to do, I have to just copy all these things that are just copy this and I have
to just based in this y axis.
That's it.
And you have to just modify your title as well.
So my title this time will be nothing but serious to get this, let's say, serious to that issue.
And I'll read what I have to do.
I have to just execute the set and it will give this amazing statistic score here.
You will see with respect to all these countries and you will observe over here.
Here you have all other countries.
Here you have this country here you have this is real and all these different different countries you
will see with respect to all other countries as well.
So that's all about the session.
And the fourth statement is exactly your assignment.
You have to solve this assignment and then you can download that notebook and you can just check what
you have done.
So that's all about it.
I hope you love it.
Thank you.
How nice to keep learning.
Keep growing, keep dissing.