Hey everyone.
So in the last video we are also going with the U.S. city's population what we are going to do in this
video is we will set something that we have all the blue collar icons there.
There is something very typical what we are going to do here is now if you figure there still is some
lake and no Jupiter notebooks.
If you focus on populations then here we have a little less than 38 and this one is decreasing and came
up to you in six or seven thousand.
So we would set some limits like if greater than forty thousand population is then that will be red
icons denoting high population.
If that is between 10000 to 40000 then that will be blue like normal population and below 10000.
Then it will be staggering.
So how to do that.
We will replace this blue color with something that can perform as the same thing that predict what.
But we cannot do that one here.
So we will call a function here say a map or you can name your function and if you want to.
I'm just getting an e-mail.
And then in that one boss the population that is be your peak.
And now we define the function.
Let me have this one in this cell and function here.
So define and mayor and pass a variable to their betterment to do that when a B or B population and
get into that one.
Now we have three conditions.
If that variable B or B you say greater than liquidate the limit thirty five thousand
then it will return red and make sure you are returning red in courts because that's a string and we
require that one string here in courts and if population greater than 10000
and population.
SIMON Dennis Lee less than thirty five thousand and even less than equal to because to divide.
Thousand must be also considered notes and in that case redone said blue
as the condition in which the population less than ten thousand return Green
Shift return.
David go with that one here.
Call the function and wait for this one running
so let me again post the video but here this one is done.
And if I call the child down that is mapped out and underscore child and then pass Beal shifted on an
all night I need to post the beauty of what I did it get uploaded on to do the same like the previous
one so here I have made these two cells that is the same may not it's school GI Bill and this one is
what you will get in first and after zooming this one a little you will get this one the streets are
also visible and here we have different icons then you click any green icon the just show something
David you will get less than ten thousand This is eight thousand two hundred eighty one Boonville this
one is eight thousand three hundred seventeen Jefferson City on Blue you will get approximately ten
to twenty five thousand there we have nineteen thousand on this one there we have twenty one thousand
on the red ones you will get ninety one thousand that are greater than thirty five thousand on this
one we have one twenty 28000 so here all of the things are working completely fine and I hope you get
all the project that how things are working here.
So this one is just to make you more familiar with these geo plots because you are going to work on
that one I believe if you are working the data science.
So thanks for watching.
This is all about this one and we will proceed with some more advanced projects.
So thanks for watching.
Soon the next module.