1 00:00:05,710 --> 00:00:06,520 Hey everyone. 2 00:00:06,850 --> 00:00:11,380 So in the last video we are also going with the U.S. city's population what we are going to do in this 3 00:00:11,380 --> 00:00:16,390 video is we will set something that we have all the blue collar icons there. 4 00:00:16,390 --> 00:00:22,630 There is something very typical what we are going to do here is now if you figure there still is some 5 00:00:23,130 --> 00:00:24,890 lake and no Jupiter notebooks. 6 00:00:24,970 --> 00:00:31,870 If you focus on populations then here we have a little less than 38 and this one is decreasing and came 7 00:00:31,870 --> 00:00:33,590 up to you in six or seven thousand. 8 00:00:34,120 --> 00:00:39,460 So we would set some limits like if greater than forty thousand population is then that will be red 9 00:00:39,760 --> 00:00:42,430 icons denoting high population. 10 00:00:42,430 --> 00:00:50,260 If that is between 10000 to 40000 then that will be blue like normal population and below 10000. 11 00:00:50,260 --> 00:00:52,880 Then it will be staggering. 12 00:00:52,900 --> 00:00:53,950 So how to do that. 13 00:00:54,610 --> 00:01:00,120 We will replace this blue color with something that can perform as the same thing that predict what. 14 00:01:00,680 --> 00:01:02,020 But we cannot do that one here. 15 00:01:02,500 --> 00:01:09,420 So we will call a function here say a map or you can name your function and if you want to. 16 00:01:09,490 --> 00:01:11,050 I'm just getting an e-mail. 17 00:01:12,160 --> 00:01:16,570 And then in that one boss the population that is be your peak. 18 00:01:18,130 --> 00:01:19,810 And now we define the function. 19 00:01:20,380 --> 00:01:23,600 Let me have this one in this cell and function here. 20 00:01:24,430 --> 00:01:33,100 So define and mayor and pass a variable to their betterment to do that when a B or B population and 21 00:01:33,100 --> 00:01:34,450 get into that one. 22 00:01:34,480 --> 00:01:36,070 Now we have three conditions. 23 00:01:36,130 --> 00:01:44,180 If that variable B or B you say greater than liquidate the limit thirty five thousand 24 00:01:46,770 --> 00:01:55,440 then it will return red and make sure you are returning red in courts because that's a string and we 25 00:01:55,440 --> 00:02:05,920 require that one string here in courts and if population greater than 10000 26 00:02:08,760 --> 00:02:11,730 and population. 27 00:02:11,730 --> 00:02:19,620 SIMON Dennis Lee less than thirty five thousand and even less than equal to because to divide. 28 00:02:19,610 --> 00:02:26,150 Thousand must be also considered notes and in that case redone said blue 29 00:02:28,830 --> 00:02:36,730 as the condition in which the population less than ten thousand return Green 30 00:02:39,880 --> 00:02:42,080 Shift return. 31 00:02:42,130 --> 00:02:43,530 David go with that one here. 32 00:02:43,560 --> 00:02:48,190 Call the function and wait for this one running 33 00:02:51,010 --> 00:02:53,690 so let me again post the video but here this one is done. 34 00:02:54,120 --> 00:03:04,500 And if I call the child down that is mapped out and underscore child and then pass Beal shifted on an 35 00:03:04,650 --> 00:03:11,280 all night I need to post the beauty of what I did it get uploaded on to do the same like the previous 36 00:03:11,280 --> 00:03:22,150 one so here I have made these two cells that is the same may not it's school GI Bill and this one is 37 00:03:22,150 --> 00:03:31,560 what you will get in first and after zooming this one a little you will get this one the streets are 38 00:03:31,560 --> 00:03:41,570 also visible and here we have different icons then you click any green icon the just show something 39 00:03:42,570 --> 00:03:49,220 David you will get less than ten thousand This is eight thousand two hundred eighty one Boonville this 40 00:03:49,220 --> 00:03:57,440 one is eight thousand three hundred seventeen Jefferson City on Blue you will get approximately ten 41 00:03:57,650 --> 00:04:05,210 to twenty five thousand there we have nineteen thousand on this one there we have twenty one thousand 42 00:04:05,690 --> 00:04:13,520 on the red ones you will get ninety one thousand that are greater than thirty five thousand on this 43 00:04:13,520 --> 00:04:21,590 one we have one twenty 28000 so here all of the things are working completely fine and I hope you get 44 00:04:21,590 --> 00:04:23,900 all the project that how things are working here. 45 00:04:24,320 --> 00:04:29,960 So this one is just to make you more familiar with these geo plots because you are going to work on 46 00:04:29,960 --> 00:04:32,500 that one I believe if you are working the data science. 47 00:04:32,720 --> 00:04:33,670 So thanks for watching. 48 00:04:33,680 --> 00:04:38,810 This is all about this one and we will proceed with some more advanced projects. 49 00:04:38,810 --> 00:04:39,860 So thanks for watching. 50 00:04:39,860 --> 00:04:40,790 Soon the next module.